]> granicus.if.org Git - clang/commit
Switch LangOptions over to a .def file that describes header of the
authorDouglas Gregor <dgregor@apple.com>
Tue, 13 Sep 2011 17:21:33 +0000 (17:21 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 13 Sep 2011 17:21:33 +0000 (17:21 +0000)
commite289d81369914678db386f6aa86faf8f178e245d
tree5fb05e9bbab057038b28cf6e4e87696f1c8cc8de
parent8c7f4bca64d5128311ce50449ae9d2048c2ffea4
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139605 91177308-0d34-0410-b5e6-96231b3b80d8
24 files changed:
include/clang/Basic/LangOptions.def [new file with mode: 0644]
include/clang/Basic/LangOptions.h
lib/AST/ASTContext.cpp
lib/Basic/CMakeLists.txt
lib/Basic/LangOptions.cpp [new file with mode: 0644]
lib/Basic/Targets.cpp
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprAgg.cpp
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CGObjCGNU.cpp
lib/CodeGen/CGObjCMac.cpp
lib/CodeGen/CodeGenModule.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/InitPreprocessor.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaObjCProperty.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
lib/StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp
lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp