summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.mk2
-rw-r--r--Compiler.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 0e28e75..c7be789 100644
--- a/Android.mk
+++ b/Android.mk
@@ -59,6 +59,7 @@ endif
TBLGEN_TABLES := \
AttrList.inc \
Attrs.inc \
+ CommentNodes.inc \
DeclNodes.inc \
DiagnosticCommonKinds.inc \
DiagnosticFrontendKinds.inc \
@@ -96,6 +97,7 @@ endif
TBLGEN_TABLES := \
AttrList.inc \
Attrs.inc \
+ CommentNodes.inc \
DeclNodes.inc \
DiagnosticCommonKinds.inc \
DiagnosticDriverKinds.inc \
diff --git a/Compiler.cpp b/Compiler.cpp
index f8bc250..6b5e0c8 100644
--- a/Compiler.cpp
+++ b/Compiler.cpp
@@ -117,7 +117,7 @@ void Compiler::createPreprocessor() {
mTarget.get());
llvm::OwningPtr<clang::CompilerInstance> Clang(new clang::CompilerInstance());
-
+
mPP.reset(new clang::Preprocessor(*mDiagnostics,
mLangOpts,
mTarget.get(),
@@ -185,7 +185,6 @@ void Compiler::injectPreDefined() {
void Compiler::init(const std::string &Triple, const std::string &CPU,
const std::vector<std::string> &Features, bool isCXX) {
mLangOpts.RTTI = 0; // Turn off the RTTI information support
- mLangOpts.NeXTRuntime = 0; // Turn off the NeXT runtime uses
mLangOpts.C99 = 1;
if (isCXX) {
mLangOpts.CPlusPlus = 1;