]> granicus.if.org Git - clang/commit
Fix a problem in digraph handling where "[:" might be treated as "<::" and
authorRichard Trieu <rtrieu@google.com>
Tue, 20 Sep 2011 20:03:50 +0000 (20:03 +0000)
committerRichard Trieu <rtrieu@google.com>
Tue, 20 Sep 2011 20:03:50 +0000 (20:03 +0000)
commitc11030ea936f6952deb5a1423ce1648173cd417e
tree9b289b2e19db291291d211ad25ad8abe8210ca28
parentbf5851a9f2ba2323b96626bbd78de45c0db1da95
Fix a problem in digraph handling where "[:" might be treated as "<::" and
erronously trigger the digraph correction fix-it.  Include a new test to catch
this in the future.

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