]> granicus.if.org Git - clang/commit
For "expected unqualified-id" errors after a double colon, and the double colon
authorRichard Trieu <rtrieu@google.com>
Thu, 5 Sep 2013 02:31:33 +0000 (02:31 +0000)
committerRichard Trieu <rtrieu@google.com>
Thu, 5 Sep 2013 02:31:33 +0000 (02:31 +0000)
commitefb288c3c1e67cb94410fd43aa0352922bcb5d52
treee705c6c28fdb5e69db533cb45061b14ed9275838
parenta5e77a89098fc5bd1398c1c96dd231ae359bcf01
For "expected unqualified-id" errors after a double colon, and the double colon
is at the end of the line, point to the location after the double colon instead
of at the next token.  There is more context to be given this way.  In addition,
the next token can be several lines later.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190029 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
test/Parser/cxx-decl.cpp