aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/MemRegion.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-10 23:10:45 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-10 23:10:45 +0000
commite1d918e9fe55e3b34401fd5d420c47ea0f9572c9 (patch)
tree6822c3f153c65c33f08ebfb5ee3e1915decacc2a /lib/Analysis/MemRegion.cpp
parentc0c0ef061f2aaf054c7a970f28961097e46661f3 (diff)
Compare the predefines buffer in the PCH file with the predefines
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MemRegion.cpp')
0 files changed, 0 insertions, 0 deletions