summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-07-13 09:07:17 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-07-13 09:07:17 +0000
commit9b36c3f0de0105e903130bbda3c4aea7d792c0af (patch)
tree66f0c582d3ebf63b52b90596156e3ddf75814a4f /lib/CodeGen/CodeGenModule.h
parentde80ec1fa947855d2e53722a8cd71367ff513481 (diff)
downloadclang-9b36c3f0de0105e903130bbda3c4aea7d792c0af.tar.gz
clang-9b36c3f0de0105e903130bbda3c4aea7d792c0af.tar.bz2
clang-9b36c3f0de0105e903130bbda3c4aea7d792c0af.tar.xz
Modify the pragma handlers to accept and use StringRefs instead of IdentifierInfos.
When loading the PCH, IdentifierInfos that are associated with pragmas cause declarations that use these identifiers to be deserialized (e.g. the "clang" pragma causes the "clang" namespace to be loaded). We can avoid this if we just use StringRefs for the pragmas. As a bonus, since we don't have to create and pass IdentifierInfos, the pragma interfaces get a bit more simplified. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108237 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions