summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CBackend/CBackend.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
commit930e099b9011240122a3e9b79e35cdc9efab859c (patch)
treeedd05eef3a3af7c39531ea0413d489a263ce8134 /llvm/lib/Target/CBackend/CBackend.cpp
parenta6141f078074409a8bd24b4808cbfce40ed27cea (diff)
downloadbcm5719-llvm-930e099b9011240122a3e9b79e35cdc9efab859c.tar.gz
bcm5719-llvm-930e099b9011240122a3e9b79e35cdc9efab859c.zip
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). llvm-svn: 51812
Diffstat (limited to 'llvm/lib/Target/CBackend/CBackend.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud