diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-05-23 04:22:22 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-05-23 04:22:22 +0000 |
commit | 47ad0171910013a0499e68145a04a977a4d2c9d4 (patch) | |
tree | 7a142d99bcf0de782a1c6375a23a5ad22636e612 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 01ade177e944ba81794fdcaf01c41bd558a31ede (diff) | |
download | bcm5719-llvm-47ad0171910013a0499e68145a04a977a4d2c9d4.tar.gz bcm5719-llvm-47ad0171910013a0499e68145a04a977a4d2c9d4.zip |
Correct the starting location for instantiations of field declarations which
start with a cv-qualifier. DeclaratorDecl::getTypeSpecStartLoc() does not
produce the location of the first type-specifier (the cv-qualifier) in this
case, because we don't track source locations for cv-qualifiers.
No test here: I've not found a way to test this with a lit-style test, and
introducing a gtest test for this seems unwarranted. Suggestions welcome!
Patch by Daniel Jasper!
llvm-svn: 157311
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions