llvm-project/clang/lib
David Blaikie 04ea41c39a Fix typo correction of one qualified name to another.
When suggesting "foo::bar" as a correction for "fob::bar" we mistakenly
replaced only "bar" with "foo::bar" producing "fob::foo::bar" which was broken.

This corrects that replacement in as many places as I could find & provides
test cases for all those cases I could find a test case for. There are a couple
that don't seem to be reachable (one looks entirely dead, the other just
doesn't seem to ever get called with a namespace to namespace change).

Review by Richard Smith ( http://llvm-reviews.chandlerc.com/D57 ).

llvm-svn: 165817
2012-10-12 20:00:44 +00:00
..
ARCMigrate Split library clangRewrite into clangRewriteCore and clangRewriteFrontend. 2012-09-01 05:09:24 +00:00
AST Add dump support for comments coming from 2012-10-12 17:28:36 +00:00
ASTMatchers Fix isDerivedFrom matcher. 2012-09-18 14:17:42 +00:00
Analysis Conditionally use an integral cast for BodyFarm support for OSAtomicCompareAndSwap if the return type is not a boolean. 2012-10-12 00:18:19 +00:00
Basic Properly factor Native Client defines to support NaCl as an OS 2012-10-11 16:55:58 +00:00
CodeGen This patch addresses PR13948. 2012-10-12 19:26:17 +00:00
Driver Revert "[Options] make Option a value type." 2012-10-10 22:34:46 +00:00
Edit Change the representation of builtin functions in the AST 2012-08-31 00:14:07 +00:00
Frontend [libclang] Improve AST serialization done by ASTUnit::Save(). 2012-10-11 16:05:00 +00:00
FrontendTool Split library clangRewrite into clangRewriteCore and clangRewriteFrontend. 2012-09-01 05:09:24 +00:00
Headers clang/lib/Headers/CMakeLists.txt: Add f16cintrin.h. 2012-10-11 01:10:04 +00:00
Lex Track which particular submodule #undef's a macro, so that the actual 2012-10-12 00:16:50 +00:00
Parse Handle a "#pragma options align" inside a class. 2012-10-12 17:39:59 +00:00
Rewrite Remove pointless classof()'s. 2012-10-11 23:31:23 +00:00
Sema Fix typo correction of one qualified name to another. 2012-10-12 20:00:44 +00:00
Serialization [PCH] We only need to record C++ overridden methods once for the canonical decl. 2012-10-12 05:31:40 +00:00
StaticAnalyzer Remove OSAtomicChecker. 2012-10-11 20:58:21 +00:00
Tooling Hopefully appease Windows buildbot with Japanese (?) error message. 2012-10-08 18:37:21 +00:00
CMakeLists.txt Adds the AST Matcher library, which provides a in-C++ DSL to express 2012-07-06 05:48:52 +00:00
Makefile Adds the AST Matcher library, which provides a in-C++ DSL to express 2012-07-06 05:48:52 +00:00