diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-06-23 14:10:07 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-06-23 14:10:07 +0000 |
commit | 787d30fe18fd0a44692977fc617f8ca7febf6d3e (patch) | |
tree | 90d594f8e342390c76f39c25c6f2e9255ac0e124 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4c5192f3754a3f355217519e8c7b37dc329e7d44 (diff) | |
download | bcm5719-llvm-787d30fe18fd0a44692977fc617f8ca7febf6d3e.tar.gz bcm5719-llvm-787d30fe18fd0a44692977fc617f8ca7febf6d3e.zip |
PR26195: Set correct NestedNameSpecifierLoc for the dependent initializer
This commit fixes incorrect source positions of dependent c'tor initializers
like in the following code:
template<typename MyBase>
struct Derived: MyBase::InnerIterator
{
Derived() : MyBase::InnerIterator() {} /// This line is problematic: all positions point to InnerIterator and nothing points to MyBase
};
Patch by Serge Preis!
Differential Revision: https://reviews.llvm.org/D32439
llvm-svn: 306103
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions