- Apr 11, 2009
-
-
Fariborz Jahanian authored
the attribute set on them. llvm-svn: 68844
-
Douglas Gregor authored
buffer generated for the current translation unit. If they are different, complain and then ignore the PCH file. This effectively checks for all compilation options that somehow would affect preprocessor state (-D, -U, -include, the dreaded -imacros, etc.). When we do accept the PCH file, throw away the contents of the predefines buffer rather than parsing them, since all of the results of that parsing are already stored in the PCH file. This eliminates the ugliness with the redefinition of __builtin_va_list, among other things. llvm-svn: 68838
-
Mike Stump authored
llvm-svn: 68837
-
Anders Carlsson authored
Remove asserts that weren't really useful, and that would fire in case the CleanupEntries vector needed to be reallocated. llvm-svn: 68835
-
Fariborz Jahanian authored
llvm-svn: 68834
-
Daniel Dunbar authored
llvm-svn: 68833
-
Chris Lattner authored
PCH. This works now, except for limitations not being able to do things with identifiers. The basic example in the testcase works though. llvm-svn: 68832
-
- Apr 10, 2009
-
-
Chris Lattner authored
into clang-cc.cpp. This makes it so clang-cc constructs the *entire* predefines buffer, not just half of it. A bonus of this is that we get to kill a copy of DefineBuiltinMacro. llvm-svn: 68830
-
Chris Lattner authored
fixme's, e.g. for tokens with identifiers) but does not actually install them. Some details with the predefines buffer needs to be sorted out first. llvm-svn: 68828
-
Chris Lattner authored
llvm-svn: 68825
-
Douglas Gregor authored
llvm-svn: 68824
-
Daniel Dunbar authored
llvm-svn: 68822
-
Douglas Gregor authored
file. When de-serializing LangOptions, we check that the currently-provided language options are consistent with the options used to compile the PCH file. If they are not, we emit a diagnostic and ignore the PCH file. llvm-svn: 68820
-
Daniel Dunbar authored
their emission was deferred. - <rdar://problem/6775234> variables with internal linkage should not be exposed with -fvisibility=hidden. llvm-svn: 68818
-
Daniel Dunbar authored
llvm-svn: 68816
-
Daniel Dunbar authored
- Patch by Shantonu Sen (with a minor tweak to split out getDarwin{OSX,IPhoneOS}Defines)! - <rdar://problem/6776277> Need clang-cc/ccc-analyzer support for -miphoneos-version-min llvm-svn: 68815
-
Mike Stump authored
blocks, so that the outer blocks use it as well. Radar 6762279 llvm-svn: 68811
-
Fariborz Jahanian authored
in @protocol expression. llvm-svn: 68806
-
Daniel Dunbar authored
llvm-svn: 68805
-
Ted Kremenek authored
llvm-svn: 68804
-
Chris Lattner authored
llvm-svn: 68803
-
Ted Kremenek authored
llvm-svn: 68800
-
Chris Lattner authored
llvm-svn: 68798
-
Chris Lattner authored
Note that we don't do anything useful with identifier infos yet and don't emit the tokens that the macros are defined to. llvm-svn: 68797
-
Douglas Gregor authored
llvm-svn: 68794
-
Douglas Gregor authored
cleanup. Aside from a minor tweak to the PCH file format, no functionality change. llvm-svn: 68793
-
Chris Lattner authored
llvm-svn: 68791
-
Chris Lattner authored
llvm-svn: 68790
-
Zhongxing Xu authored
A CodeTextRegion wraps two kinds of data: FunctionDecl* or SymbolRef. The latter comes from the symbolic function pointer that are generated from function calls or input data. llvm-svn: 68777
-
Zhongxing Xu authored
llvm-svn: 68771
-
Anders Carlsson authored
llvm-svn: 68769
-
Anders Carlsson authored
llvm-svn: 68764
-
Anders Carlsson authored
llvm-svn: 68763
-
Anders Carlsson authored
llvm-svn: 68762
-
Anders Carlsson authored
llvm-svn: 68761
-
Douglas Gregor authored
improvement, source locations read from the PCH file will properly resolve to the source files that were used to build the PCH file itself. Once we have the preprocessor state stored in the PCH file, source locations that refer to macro instantiations that occur in the PCH file should have the appropriate instantiation information. llvm-svn: 68758
-
rdar://problem/6776949Ted Kremenek authored
Fix: <rdar://problem/6776949> Branch condition evaluates to an uninitialized value (argc is guaranteed to be >= 1) The analyzer now adds the precondition that the first argument of 'main' is > 0. llvm-svn: 68757
-
Chris Lattner authored
llvm-svn: 68756
-
-
rdar://problem/6777003Ted Kremenek authored
clients of the analyzer to designate custom assertion routines as "noreturn" functions from the analyzer's perspective but not the compiler's. llvm-svn: 68746
-