mirror of
https://github.com/nasa/trick.git
synced 2025-04-07 19:34:23 +00:00
Trick will not compile with llvm 6.0 and Xcode 9.2 on the mac. #579
Found a new language option we need to set in ICG when llvm >= 6.0 to parse header files correctly. The option is DoubleSquareBracketAttributes.
This commit is contained in:
parent
62f95e784f
commit
be6f9dc855
@ -97,6 +97,9 @@ int main(int argc, char * argv[]) {
|
||||
ci.getLangOpts().CPlusPlus = true ;
|
||||
ci.getLangOpts().CPlusPlus11 = true ;
|
||||
ci.getLangOpts().CXXOperatorNames = true ;
|
||||
#if (LIBCLANG_MAJOR >= 6)
|
||||
ci.getLangOpts().DoubleSquareBracketAttributes = true ;
|
||||
#endif
|
||||
|
||||
// Create all of the necessary managers.
|
||||
ci.createFileManager();
|
||||
|
Loading…
x
Reference in New Issue
Block a user