NAKAMURA Takumi
ac3ff26885
[CMake] Parameterize MODULE and SHARED in add_clang_library().
...
llvm-svn: 199902
2014-01-23 15:33:44 +00:00
Nico Weber
c45921903f
Don't use PrintFunctionNames.exports on Windows.
...
llvm-svn: 198187
2013-12-30 00:05:56 +00:00
Nico Weber
e8ef46c851
Fix typo in comment.
...
llvm-svn: 198186
2013-12-29 23:15:01 +00:00
Nico Weber
216436c77a
[cmake] Set in LLVM_EXPORTED_SYMBOL_FILE PrintFunctionNames/CMakeLists.txt.
...
The corresponding Makefile sets it too. Also tweak add_clang_library to support
LLVM_EXPORTED_SYMBOL_FILE for modules.
llvm-svn: 198185
2013-12-29 23:14:26 +00:00
NAKAMURA Takumi
ac85179219
[CMake] Update target_link_libraries() and LLVM_LINK_COMPONENTS for each CMakeLists.txt.
...
llvm-svn: 196916
2013-12-10 12:40:37 +00:00
Douglas Gregor
27c42e66bb
Revert r170801, which breaks the mingw build.
...
llvm-svn: 170804
2012-12-20 23:36:52 +00:00
Douglas Gregor
d04592dc81
Eliminate errors when running the 'PrintFunctionNames' plugin, from Li Qun!
...
llvm-svn: 170801
2012-12-20 23:11:42 +00:00
NAKAMURA Takumi
a9a35c67e1
libclang, examples: [CMake] Add dependencies to tblgen'd headers.
...
llvm-svn: 160849
2012-07-27 06:17:56 +00:00
Chandler Carruth
28969b4139
Remove a goofy CMake hack and use the standard CMake facilities to
...
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
2012-06-21 01:30:21 +00:00
Peter Collingbourne
8f5cf74c77
Re-instate r125819 and r125820 with no functionality change
...
llvm-svn: 126060
2011-02-19 23:03:58 +00:00
Rafael Espindola
a6d2bff0c5
Revert 125820 and 125819 to fix PR9266.
...
llvm-svn: 126050
2011-02-19 21:39:31 +00:00
Peter Collingbourne
14a552b2d7
Move CompilerInstance::LLVMContext and LLVMContext ownership to CodeGenAction
...
This removes the final dependency edge from any lib outside of CodeGen
to core. As a result we can, and do, trim the dependency on core
from libclang, PrintFunctionNames, the unit tests and c-index-test.
While at it, review and trim other unneeded dependencies.
llvm-svn: 125820
2011-02-18 02:25:12 +00:00
Argyrios Kyrtzidis
ecd3334dac
[analyzer] Introduce libclangStaticAnalyzerFrontend and move Checkers/AnalysisConsumer.cpp into Frontend lib.
...
llvm-svn: 125499
2011-02-14 18:13:01 +00:00
NAKAMURA Takumi
98dd73d66c
CMake: LLVM_NO_RTTI must be obsolete now!
...
llvm-svn: 125275
2011-02-10 09:15:32 +00:00
Ted Kremenek
d99bd55a5e
Chris Lattner has strong opinions about directory
...
layout. :)
Rename the 'EntoSA' directories to 'StaticAnalyzer'.
Internally we will still use the 'ento' namespace
for the analyzer engine (unless there are further
sabre rattlings...).
llvm-svn: 122514
2010-12-23 19:38:26 +00:00
Ted Kremenek
ef33f0996c
Rename headers: 'clang/GR' 'clang/EntoSA' and
...
update Makefile.
llvm-svn: 122493
2010-12-23 07:22:02 +00:00
Argyrios Kyrtzidis
a700e976b6
[analyzer] Refactoring: Move checkers into lib/GR/Checkers and their own library, libclangGRCheckers
...
llvm-svn: 122422
2010-12-22 18:52:56 +00:00
Argyrios Kyrtzidis
2ff5ab1516
[analyzer] Refactoring: lib/Checker -> lib/GR and libclangChecker -> libclangGRCore
...
llvm-svn: 122421
2010-12-22 18:52:29 +00:00
Michael J. Spencer
433e9c7f2a
PrintFunctionNames: Fix Windows (MSV{S,C} and mingw) build.
...
llvm-svn: 113835
2010-09-14 06:39:35 +00:00
Michael J. Spencer
09476212de
Revert "CMake: Update to use standard CMake dependency tracking facilities instead"
...
This reverts commit r113631
Conflicts:
CMakeLists.txt
lib/CodeGen/CMakeLists.txt
llvm-svn: 113817
2010-09-13 23:54:41 +00:00
Michael J. Spencer
0881f4a367
CMake: Update to use standard CMake dependency tracking facilities instead
...
of whatever we were using before...
llvm-svn: 113631
2010-09-10 21:13:16 +00:00
Douglas Gregor
61b5ff5ab4
Teach the PrintFunctionNames example to be a proper module, so that
...
Clang can load it as a plugin. Original fix by Troy D. Straszheim,
which I extended with Darwin support. Fixes PR6801.
llvm-svn: 105630
2010-06-08 19:23:49 +00:00
Daniel Dunbar
5732ce39bc
Update example link lines.
...
llvm-svn: 90359
2009-12-03 00:00:22 +00:00
Daniel Dunbar
6499e9c625
Add a trivial example plugin, which prints the names of the top-level decls.
...
- The build scriptage is about twice as long as the code, which is nice. :)
llvm-svn: 88826
2009-11-15 00:27:43 +00:00