aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-05-31 05:02:17 +0000
committerSteve Naroff <snaroff@apple.com>2008-05-31 05:02:17 +0000
commit6cafbf2a678c95d4cdc09ecaa782319bbcf56944 (patch)
treea2e5cd2d61e6cec6e9c511b5d599d7ff4e738a97 /lib/CodeGen/CGExprConstant.cpp
parent7691d9b77b01bf9df6c51e7cb8b43ec150f50b7b (diff)
Fix <rdar://problem/5969777> clang ObjC rewriter: #imported file name mysteriously commented out
This fix involved tightening up needToScanForQualifiers(), which predated ObjCQualifiedIdType. It also includes a minor tweak to the code that searches for the beginning of the qualified type. If the AST contained the correct beginning of the declaration (i.e. the beginning of the declaration specifiers), this code would be more robust. Since it doesn't, we apply an adhoc heuristic. Note that DeclSpec contains this info...we just don't propagate it to the AST (at present). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions