Daniel Dunbar
6311731341
Update LINK_COMPONENTS for examples.
...
llvm-svn: 105607
2010-06-08 15:38:01 +00:00
Benjamin Kramer
6a2542b629
Tip of the day: save before commit.
...
llvm-svn: 101896
2010-04-20 11:55:38 +00:00
Benjamin Kramer
25d3d782d2
Fix -Wcast-qual warnings.
...
llvm-svn: 101895
2010-04-20 11:50:39 +00:00
Douglas Gregor
6314641822
clang-wpa fixes for Diagnostic
...
llvm-svn: 100518
2010-04-06 04:03:12 +00:00
Douglas Gregor
ff8f4f6262
Unbreak build
...
llvm-svn: 100514
2010-04-06 01:25:58 +00:00
Douglas Gregor
01fa5c3734
Grrrr
...
llvm-svn: 100476
2010-04-05 21:47:48 +00:00
Douglas Gregor
0228a9c76b
Try to de-bork build of WPA
...
llvm-svn: 100475
2010-04-05 21:47:24 +00:00
Daniel Dunbar
e43887bd2b
Driver: Add support for a CLANGXX_IS_PRODUCTION build variable, which enable
...
Clang++ support, even in "Production" mode (for testing purposes).
llvm-svn: 100119
2010-04-01 18:21:41 +00:00
Kovarththanan Rajaratnam
9a3f55c2a4
Wire up Daniel's new spiffy C interpreter into the CMake build system
...
llvm-svn: 97311
2010-02-27 07:46:49 +00:00
Kovarththanan Rajaratnam
7cfffceec7
Add comment
...
llvm-svn: 97309
2010-02-27 07:06:44 +00:00
Kovarththanan Rajaratnam
fa0a4bcb55
Add header + comments
...
llvm-svn: 97308
2010-02-27 07:05:56 +00:00
Daniel Dunbar
0076d94466
Add a minimal C interpreter example.
...
- Demonstrates how to build a standalone tool which loads source code using the
Driver and Frontend libraries, and then uses CodeGen and the JIT to actually
execute the code.
- Still more complicated than it should be, but hey its only 153 lines. :)
--
ddunbar@ozzy:tmp$ cat hello.c
#include <stdio.h>
int main() { printf("hello world\n"); return 0; }
ddunbar@ozzy:tmp$ clang-interpreter hello.c
hello world
--
llvm-svn: 97133
2010-02-25 08:49:05 +00:00
Chris Lattner
0bcc858a2b
-fno-rtti is now the default.
...
llvm-svn: 94379
2010-01-24 20:43:31 +00:00
Daniel Dunbar
d79f40ac7a
Fix -plugin command line argument syntax for clang -cc1 change.
...
llvm-svn: 92780
2010-01-05 21:42:23 +00:00
Douglas Gregor
b752f1e25c
Fix CMake build on windows, from Cedric Venet
...
llvm-svn: 91794
2009-12-20 20:56:30 +00:00
Daniel Dunbar
520d1e6c6b
Update docs/comments/utils/examples to refer to clang -cc1 instead of clang-cc.
...
llvm-svn: 91176
2009-12-11 23:04:35 +00:00
Daniel Dunbar
1597da4c05
Document that CompilerInvocation::createDiagnostics keeps a reference to the DiagnosticOptions, and update callers to make sure they don't pass in a temporary.
...
llvm-svn: 90704
2009-12-06 09:56:30 +00:00
Daniel Dunbar
19a30ca8c0
Fix layering violation by moving Analysis/CallGraph to Index
...
llvm-svn: 90424
2009-12-03 07:20:04 +00:00
Daniel Dunbar
59203007ac
Fix ASTUnit to allows require a (persistent) Diagnostic object be provided; propogate and simplify.
...
llvm-svn: 90379
2009-12-03 01:45:44 +00:00
Daniel Dunbar
5732ce39bc
Update example link lines.
...
llvm-svn: 90359
2009-12-03 00:00:22 +00:00
Daniel Dunbar
9110165da9
Add a very minimal README.txt for examples/PrintFunctionNames.
...
llvm-svn: 90197
2009-12-01 03:15:49 +00:00
Daniel Dunbar
53f6f61c95
Add missed CMake file for adding clang examples to CMake build.
...
llvm-svn: 89080
2009-11-17 09:40:40 +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
Daniel Dunbar
9b30eb721f
Add examples dir, built with BUILD_EXAMPLES=1 (Makefiles, no CMake equivalent yet).
...
Move tools/wpa to examples/wpa, and unbreak its build.
llvm-svn: 88825
2009-11-15 00:22:33 +00:00