Dmitri Gribenko
f857950d39
Remove useless 'llvm::' qualifier from names like StringRef and others that are
...
brought into 'clang' namespace by clang/Basic/LLVM.h
llvm-svn: 172323
2013-01-12 19:30:44 +00:00
Douglas Gregor
275e8834c1
Buildbot debugging is fun
...
llvm-svn: 166516
2012-10-23 22:55:10 +00:00
Ted Kremenek
cdf814900d
Split library clangRewrite into clangRewriteCore and clangRewriteFrontend.
...
This is similar to how we divide up the StaticAnalyzer libraries to separate
core functionality to what is clearly associated with Frontend actions.
llvm-svn: 163050
2012-09-01 05:09:24 +00:00
Richard Smith
802c4b7015
Fix undefined behavior: member function calls where 'this' is a null pointer.
...
llvm-svn: 162430
2012-08-23 06:16:52 +00:00
Benjamin Kramer
b696a3639d
Move sideeffecting call out of assert().
...
llvm-svn: 158146
2012-06-07 09:57:21 +00:00
Manuel Klimek
0a8b9cd1e7
Switches the RewriterTestContext away from PathV1.
...
Now the ToolingTests all work on Windows, and they also clean up their temporary directory if they don't crash.
llvm-svn: 158112
2012-06-06 21:28:13 +00:00
Manuel Klimek
ee56b541d8
Fixes the refactoring library test in VS2010.
...
llvm-svn: 158019
2012-06-05 20:16:30 +00:00
NAKAMURA Takumi
42e5ac409c
clang/unittests/Tooling/RewriterTestContext.h: Don't try to remove TemporaryDirectory.
...
llvm-svn: 157530
2012-05-27 13:10:14 +00:00
Manuel Klimek
78d084d942
Adds a method overwriteChangedFiles to the Rewriter. This is implemented by
...
first writing the changed files to a temporary location and then overwriting
the original files atomically.
Also adds a RewriterTestContext to aid unit testing rewrting logic in general.
llvm-svn: 157260
2012-05-22 17:01:35 +00:00