diff options
author | Stephen Hines <srhines@google.com> | 2014-06-10 18:07:10 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2014-06-11 11:05:35 -0700 |
commit | fc4f78b9c7941132fb048a83f0e4ba528c3b4fd0 (patch) | |
tree | 41112504a79c21d6331ab9813a8c87ceaee07b5e /slang_rs_context.cpp | |
parent | 7f5704efe0c59d5599f1ac7056976225dbfab946 (diff) | |
download | android_frameworks_compile_slang-fc4f78b9c7941132fb048a83f0e4ba528c3b4fd0.tar.gz android_frameworks_compile_slang-fc4f78b9c7941132fb048a83f0e4ba528c3b4fd0.tar.bz2 android_frameworks_compile_slang-fc4f78b9c7941132fb048a83f0e4ba528c3b4fd0.zip |
Add -v (-verbose/--verbose) option to llvm-rs-cc.
This change also suppresses the display of "Generating Script*." output by
default.
Change-Id: I034a3ba20acf64e1eb9ecc02133edb03b643d559
Diffstat (limited to 'slang_rs_context.cpp')
-rw-r--r-- | slang_rs_context.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/slang_rs_context.cpp b/slang_rs_context.cpp index 38dfff1..42075bc 100644 --- a/slang_rs_context.cpp +++ b/slang_rs_context.cpp @@ -46,11 +46,13 @@ RSContext::RSContext(clang::Preprocessor &PP, clang::ASTContext &Ctx, const clang::TargetInfo &Target, PragmaList *Pragmas, - unsigned int TargetAPI) + unsigned int TargetAPI, + bool Verbose) : mPP(PP), mCtx(Ctx), mPragmas(Pragmas), mTargetAPI(TargetAPI), + mVerbose(Verbose), mDataLayout(NULL), mLLVMContext(llvm::getGlobalContext()), mLicenseNote(NULL), |