[PATCH] D36429: [clang-import-test] Option to dump the IR for an expression
Lang Hames via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 7 15:05:37 PDT 2017
lhames accepted this revision.
lhames added a comment.
This revision is now accepted and ready to land.
LGTM!
================
Comment at: tools/clang-import-test/clang-import-test.cpp:301-303
+ if (ShouldDumpIR) {
+ CG.GetModule()->print(llvm::outs(), nullptr);
+ }
----------------
LLVM style says no braces for single line conditionals. :)
https://reviews.llvm.org/D36429
More information about the cfe-commits
mailing list