diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-09-13 17:21:33 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-09-13 17:21:33 +0000 |
commit | 79a91418bd1a5e1cb50b34ec8a5d45a4eea4e898 (patch) | |
tree | e0871a264eeffe0faaf2e7bf42dc4eb0fd83bce3 /clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp | |
parent | 0494c5c35d801083f63b033d8367909288b50a76 (diff) | |
download | bcm5719-llvm-79a91418bd1a5e1cb50b34ec8a5d45a4eea4e898.tar.gz bcm5719-llvm-79a91418bd1a5e1cb50b34ec8a5d45a4eea4e898.zip |
Switch LangOptions over to a .def file that describes header of the
language options. Use that .def file to declare the LangOptions class
and initialize all of its members, eliminating a source of annoying
initialization bugs.
AST serialization changes are next up.
llvm-svn: 139605
Diffstat (limited to 'clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp b/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp index 69a87fbd212..76ca4777948 100644 --- a/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp +++ b/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp @@ -336,7 +336,7 @@ static void ActionExprEngine(AnalysisConsumer &C, AnalysisManager &mgr, static void RunPathSensitiveChecks(AnalysisConsumer &C, AnalysisManager &mgr, Decl *D) { - switch (mgr.getLangOptions().getGCMode()) { + switch (mgr.getLangOptions().getGC()) { default: llvm_unreachable("Invalid GC mode."); case LangOptions::NonGC: |