[cfe-commits] Undo the incorrect modification of SS in Sema::ClassifyName

Kaelyn Uhrain rikka at google.com
Wed Jul 13 12:52:16 PDT 2011


Here's a patch that removes one place where the CXXScopeSpec was being
modified when it shouldn't have been, and in doing so causing the wrong
diagnostic message to be emitted. Updating SS was a remnant of a version of
my namespace correction patch which didn't get cleaned up properly (removed)
before submission. All tests pass and the proper message is given for Chris'
example (which was added to the unit test) in
http://llvm.org/bugs/show_bug.cgi?id=10318

Cheers,
Kaelyn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110713/4dd35024/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ns-scopespec-fix.diff
Type: text/x-diff
Size: 2009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110713/4dd35024/attachment.diff>


More information about the cfe-commits mailing list