diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-03-03 21:48:55 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-03-03 21:48:55 +0000 |
commit | 2b1ca9eaadc543bb6fe80bb6fd306fe05870fc03 (patch) | |
tree | 4cfc8844134e74588c3e3e6570edf01c8a556566 /llvm/test | |
parent | 68a1525290ebe592dfbc008a80c6e3f5121131a9 (diff) | |
download | bcm5719-llvm-2b1ca9eaadc543bb6fe80bb6fd306fe05870fc03.tar.gz bcm5719-llvm-2b1ca9eaadc543bb6fe80bb6fd306fe05870fc03.zip |
Fix PR9390 in not one, but two ways:
1) When we do an instantiation of the injected-class-name type,
provide a proper source location. This is just plain good hygiene.
2) When we're building a NestedNameSpecifierLoc from a CXXScopeSpec,
only return an empty NestedNameSpecifierLoc if there's no
representation.
Both problems contributed to the horrible test case in PR9390 that I
couldn't reduce down to something palatable.
llvm-svn: 126961
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions