035284f6351e — Leonard Ritter 10 days ago
* updated scopes to use clang+llvm 11
2 files changed, 5 insertions(+), 6 deletions(-)

M src/c_import.cpp
M src/gen_llvm.cpp
M src/c_import.cpp +2 -3
@@ 886,10 886,9 @@ static void add_c_macro(clang::Preproces
     clang::SmallString<64> IntegerBuffer;
     bool NumberInvalid = false;
     clang::StringRef Spelling = PP.getSpelling(*Tok, IntegerBuffer, &NumberInvalid);
-    clang::NumericLiteralParser Literal(Spelling, Tok->getLocation(), PP
-        /*
+    clang::NumericLiteralParser Literal(Spelling, Tok->getLocation(),
         PP.getSourceManager(), PP.getLangOpts(), PP.getTargetInfo(),
-        PP.getDiagnostics()*/);
+        PP.getDiagnostics());
     if(Literal.hadError)
         return;
     const String *name = String::from_cstr(II->getName().str().c_str());

          
M src/gen_llvm.cpp +3 -3
@@ 2993,9 2993,9 @@ struct LLVMIRGenerator {
                 /*Kind*/ LLVMDWARFEmissionFull,
                 /*DWOId*/ 0,
                 /*SplitDebugInlining*/ true,
-                /*DebugInfoForProfiling*/ false
-                // /*SysRoot*/ "", 0,
-                // /*SDK*/ "", 0
+                /*DebugInfoForProfiling*/ false,
+                /*SysRoot*/ "", 0,
+                /*SDK*/ "", 0
                 );