mirror of
https://github.com/nasa/trick.git
synced 2024-12-20 05:37:55 +00:00
Merge branch 'master' of https://github.com/nasa/trick
This commit is contained in:
commit
a1ee0e93da
@ -127,7 +127,11 @@ int main(int argc, char * argv[]) {
|
||||
// Set all of the defaults to c++
|
||||
#if (LIBCLANG_MAJOR > 3) || ((LIBCLANG_MAJOR == 3) && (LIBCLANG_MINOR >= 9))
|
||||
llvm::Triple trip (to.Triple) ;
|
||||
#if (LIBCLANG_MAJOR >= 5)
|
||||
clang::CompilerInvocation::setLangDefaults(ci.getLangOpts(), clang::InputKind::CXX, trip, ppo) ;
|
||||
#else
|
||||
clang::CompilerInvocation::setLangDefaults(ci.getLangOpts(), clang::IK_CXX, trip, ppo) ;
|
||||
#endif
|
||||
// setting the language defaults clears the c++11 flag.
|
||||
ci.getLangOpts().CPlusPlus11 = true ;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user