summaryrefslogtreecommitdiffstats
path: root/clang/examples/clang-interpreter/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Tip of the day: save before commit.Benjamin Kramer2010-04-201-2/+2
| | | | llvm-svn: 101896
* Fix -Wcast-qual warnings.Benjamin Kramer2010-04-201-3/+5
| | | | llvm-svn: 101895
* Driver: Add support for a CLANGXX_IS_PRODUCTION build variable, which enableDaniel Dunbar2010-04-011-1/+2
| | | | | | Clang++ support, even in "Production" mode (for testing purposes). llvm-svn: 100119
* Add a minimal C interpreter example.Daniel Dunbar2010-02-251-0/+152
- 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
OpenPOWER on IntegriCloud