Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use getProcessTriple in clang-interpreter. | Peter Collingbourne | 2013-01-16 | 1 | -2/+1 |
| | | | | llvm-svn: 172664 | ||||
* | Remove useless 'llvm::' qualifier from names like StringRef and others that are | Dmitri Gribenko | 2013-01-12 | 1 | -1/+1 |
| | | | | | | brought into 'clang' namespace by clang/Basic/LLVM.h llvm-svn: 172323 | ||||
* | Rewrite #includes for llvm/Foo.h to llvm/IR/Foo.h as appropriate to | Chandler Carruth | 2013-01-02 | 1 | -1/+1 |
| | | | | | | | | reflect the migration in r171366. Re-sort the #include lines to reflect the new paths. llvm-svn: 171369 | ||||
* | Revert r170801, which breaks the mingw build. | Douglas Gregor | 2012-12-20 | 1 | -0/+1 |
| | | | | llvm-svn: 170804 | ||||
* | Eliminate errors when running the 'PrintFunctionNames' plugin, from Li Qun! | Douglas Gregor | 2012-12-20 | 1 | -1/+0 |
| | | | | llvm-svn: 170801 | ||||
* | Sort the #include lines for examples/... | Chandler Carruth | 2012-12-04 | 3 | -10/+9 |
| | | | | llvm-svn: 169241 | ||||
* | Fix examples. | Rafael Espindola | 2012-11-27 | 1 | -1/+1 |
| | | | | llvm-svn: 168705 | ||||
* | analyzer-plugin/MainCallChecker.cpp: Fixup corresponding to r167275. | NAKAMURA Takumi | 2012-11-02 | 1 | -1/+1 |
| | | | | llvm-svn: 167278 | ||||
* | Update clang-interpreter example | Douglas Gregor | 2012-10-23 | 1 | -3/+4 |
| | | | | llvm-svn: 166510 | ||||
* | Split library clangRewrite into clangRewriteCore and clangRewriteFrontend. | Ted Kremenek | 2012-09-01 | 2 | -2/+3 |
| | | | | | | | 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 | ||||
* | libclang, examples: [CMake] Add dependencies to tblgen'd headers. | NAKAMURA Takumi | 2012-07-27 | 2 | -0/+18 |
| | | | | llvm-svn: 160849 | ||||
* | Remove a goofy CMake hack and use the standard CMake facilities to | Chandler Carruth | 2012-06-21 | 3 | -37/+40 |
| | | | | | | | | | express library-level dependencies within Clang. This is no more verbose really, and plays nicer with the rest of the CMake facilities. It should also have no change in functionality. llvm-svn: 158888 | ||||
* | Honour CLANG_BUILD_EXAMPLES correctly, by setting the directory's | Peter Collingbourne | 2012-05-03 | 1 | -1/+1 |
| | | | | | | EXCLUDE_FROM_ALL property. llvm-svn: 156090 | ||||
* | Reverted unintentional commit. | Manuel Klimek | 2012-04-26 | 1 | -2/+1 |
| | | | | llvm-svn: 155629 | ||||
* | Adds a small tutorial on how to write RAV based ASTFrontendActions. | Manuel Klimek | 2012-04-26 | 1 | -1/+2 |
| | | | | llvm-svn: 155627 | ||||
* | Remove clangIndex reference from clang-interpreter CMake build | Douglas Gregor | 2012-04-13 | 1 | -1/+0 |
| | | | | llvm-svn: 154674 | ||||
* | clang-interpreter/Makefile: [PR12313] Update USEDLIBS to add clangEdit. | NAKAMURA Takumi | 2012-03-21 | 1 | -1/+2 |
| | | | | llvm-svn: 153167 | ||||
* | Remove clang-wpa example, which has been unmaintained for quite a while. | Douglas Gregor | 2012-03-14 | 3 | -233/+0 |
| | | | | llvm-svn: 152729 | ||||
* | Unify naming of LangOptions variable/get function across the Clang stack ↵ | David Blaikie | 2012-03-11 | 1 | -4/+4 |
| | | | | | | | | | | (Lex to AST). The member variable is always "LangOpts" and the member function is always "getLangOpts". Reviewed by Chris Lattner llvm-svn: 152536 | ||||
* | [analyzer] Rename clang::CallGraph into clang::idx::CallGraph + rename | Anna Zaks | 2012-03-02 | 1 | -3/+3 |
| | | | | | | | | | | | | | the corresponding files to avoid confusion. This is a preparation to adding an AST-based call graph to Analysis. The existing call graph works with indexer entries. We might be able to refactor it to use the AST based graph in the future. (Minimal testing here as the only example that uses the API has been completely broken, does not compile.) llvm-svn: 151950 | ||||
* | Basic: import IntrusiveRefCntPtr<> into clang namespace | Dylan Noblesmith | 2012-02-20 | 2 | -2/+2 |
| | | | | | | | The class name is long enough without the llvm:: added. Also bring in RefCountedBase and RefCountedBaseVPTR. llvm-svn: 150958 | ||||
* | drop more llvm:: prefixes on SmallString<> | Dylan Noblesmith | 2012-02-13 | 1 | -1/+1 |
| | | | | | | More cleanup after r149799. llvm-svn: 150380 | ||||
* | drop more llvm:: prefixes on OwningPtr<> | Dylan Noblesmith | 2012-02-13 | 3 | -8/+8 |
| | | | | | | More cleanup after r149798. llvm-svn: 150379 | ||||
* | examples/analyzer-plugin: hook up to build | Dylan Noblesmith | 2012-02-13 | 4 | -3/+4 |
| | | | | | | | | | | | This was never being compiled at all and was bitrotting as a result. Also compile SampleAnalyzerPlugin as a module, not a library, and fix a mistake with not passing the source files to add_clang_library(). llvm-svn: 150378 | ||||
* | examples/analyzer-plugin/: unbreak build | Dylan Noblesmith | 2012-02-09 | 1 | -2/+3 |
| | | | | | | | It was never updated for API changes in r149311/r149336/r149339 and r147688. llvm-svn: 150202 | ||||
* | Adjust CLANG_BUILD_EXAMPLES to mean whether the examples are built | Peter Collingbourne | 2012-01-26 | 1 | -0/+4 |
| | | | | | | by default, rather than whether they may be built at all. llvm-svn: 149037 | ||||
* | remove unneeded config.h includes | Dylan Noblesmith | 2011-12-22 | 1 | -2/+0 |
| | | | | llvm-svn: 147195 | ||||
* | examples: flesh out PFN readme | Dylan Noblesmith | 2011-12-18 | 1 | -0/+4 |
| | | | | | | Show how to actually use the arguments it has. llvm-svn: 146845 | ||||
* | Update signature of HandleTopLevelDecl. | Douglas Gregor | 2011-11-19 | 1 | -1/+3 |
| | | | | llvm-svn: 145001 | ||||
* | rename getHostTriple into getDefaultTargetTriple in clang | Sebastian Pop | 2011-11-01 | 1 | -1/+1 |
| | | | | llvm-svn: 143503 | ||||
* | Add support for lazily linking bitcode files (using a new | Peter Collingbourne | 2011-10-30 | 2 | -1/+2 |
| | | | | | | | -mlink-bitcode-file flag), and more generally llvm::Modules, before running optimisations. llvm-svn: 143314 | ||||
* | Add missing include to clang-interpreter example, to make it work on ↵ | Eli Friedman | 2011-10-06 | 1 | -0/+1 |
| | | | | | | Windows. Patch by Dean Pavlekovic. llvm-svn: 141324 | ||||
* | Rip out flags for controlling C++ "production mode" separately. | Bob Wilson | 2011-10-04 | 1 | -2/+1 |
| | | | | | | | This is old leftover cruft from the days when C++ was not yet ready for prime time. llvm-svn: 141063 | ||||
* | Fix examples for r140478. PR11021. | Eli Friedman | 2011-09-27 | 2 | -3/+3 |
| | | | | llvm-svn: 140618 | ||||
* | Match LLVM change: TargetRegistry and TargetSelect have been moved to Support. | Evan Cheng | 2011-08-24 | 1 | -1/+1 |
| | | | | llvm-svn: 138451 | ||||
* | Remove EnhancedBugReport and RangedBugReport - pull all the extra ↵ | Anna Zaks | 2011-08-17 | 1 | -1/+1 |
| | | | | | | functionality they provided into their parent BugReport. The only functional changes are: made getRanges() non const - it adds default range to Ranges if none are supplied, made getStmt() private, which was another FIXME. llvm-svn: 137894 | ||||
* | Don't use BuiltinBug in analyzer plugin example. | Jordy Rose | 2011-08-17 | 1 | -1/+1 |
| | | | | llvm-svn: 137811 | ||||
* | [analyzer] Add basic support for pluggable checkers. | Jordy Rose | 2011-08-17 | 3 | -0/+86 |
| | | | | llvm-svn: 137802 | ||||
* | Reverts the Tooling changes as requested by Chris. | Manuel Klimek | 2011-06-02 | 9 | -389/+1 |
| | | | | llvm-svn: 132462 | ||||
* | Fixes Makefile based build for examples/Tooling. | Manuel Klimek | 2011-06-01 | 3 | -3/+28 |
| | | | | llvm-svn: 132380 | ||||
* | Put Parse before Sema on the link line since parse depends on sema. | Nick Lewycky | 2011-06-01 | 1 | -2/+3 |
| | | | | | | Also reflow these lines to fit in 80-col. llvm-svn: 132379 | ||||
* | This patch implements an AST matching framework that allows to write | Manuel Klimek | 2011-05-31 | 4 | -0/+285 |
| | | | | | | | | | | | tools that match on the C++ ASTs. The main interface is in ASTMatchers.h, an example implementation of a tool that removes redundant .c_str() calls is in the example RemoveCStrCalls.cpp. Various contributions: Zhanyong Wan, Chandler Carruth, Marcin Kowalczyk, Wei Xu, James Dennett. llvm-svn: 132374 | ||||
* | Fix linking of clang-wpa. | Zhongxing Xu | 2011-05-31 | 1 | -3/+6 |
| | | | | llvm-svn: 132329 | ||||
* | Fix examples compile break due to rewrite of isa. | Manuel Klimek | 2011-05-23 | 1 | -1/+1 |
| | | | | llvm-svn: 131912 | ||||
* | Pulls the common part of the clang-check example into Tooling, to allow new ↵ | Manuel Klimek | 2011-05-16 | 1 | -73/+6 |
| | | | | | | tools to be implemented without duplicating the boilerplate. llvm-svn: 131425 | ||||
* | Let clang-check actually use the Directory entry in the json file. | Nico Weber | 2011-05-14 | 1 | -0/+6 |
| | | | | llvm-svn: 131367 | ||||
* | Fixes compilation with Visual Studio by replacing the non-standard ↵ | Manuel Klimek | 2011-05-10 | 1 | -2/+2 |
| | | | | | | vector::data() access. llvm-svn: 131116 | ||||
* | Fix gcc 'warning: multi-line comment'. | Nico Weber | 2011-04-30 | 1 | -2/+2 |
| | | | | llvm-svn: 130583 | ||||
* | Add a Makefile to examples/Tooling for people who do not use cmake. | Nico Weber | 2011-04-30 | 1 | -0/+24 |
| | | | | llvm-svn: 130577 | ||||
* | Fix Makefile build of examples/clang-interpreter. | Nico Weber | 2011-04-30 | 1 | -1/+1 |
| | | | | llvm-svn: 130576 |