File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5228,9 +5228,6 @@ extern const char *DefaultFormatStyle;
5228
5228
// / Different builds can modify the value to the preferred styles.
5229
5229
extern const char *DefaultFallbackStyle;
5230
5230
5231
- // / Whether the language is C/C++/Objective-C/Objective-C++.
5232
- extern bool IsCpp;
5233
-
5234
5231
// / Construct a FormatStyle based on ``StyleName``.
5235
5232
// /
5236
5233
// / ``StyleName`` can take several forms:
Original file line number Diff line number Diff line change @@ -3915,8 +3915,6 @@ const char *DefaultFormatStyle = "file";
3915
3915
3916
3916
const char *DefaultFallbackStyle = " LLVM" ;
3917
3917
3918
- bool IsCpp = false ;
3919
-
3920
3918
llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>>
3921
3919
loadAndParseConfigFile (StringRef ConfigFile, llvm::vfs::FileSystem *FS,
3922
3920
FormatStyle *Style, bool AllowUnknownOptions) {
Original file line number Diff line number Diff line change 18
18
namespace clang {
19
19
namespace format {
20
20
21
+ bool IsCpp = false ;
22
+
21
23
const char *getTokenTypeName (TokenType Type) {
22
24
static const char *const TokNames[] = {
23
25
#define TYPE (X ) #X,
Original file line number Diff line number Diff line change 24
24
namespace clang {
25
25
namespace format {
26
26
27
+ // / Whether the language is C/C++/Objective-C/Objective-C++.
28
+ extern bool IsCpp;
29
+
27
30
#define LIST_TOKEN_TYPES \
28
31
TYPE (ArrayInitializerLSquare) \
29
32
TYPE (ArraySubscriptLSquare) \
You can’t perform that action at this time.
0 commit comments