ef8225444452a1486bd721f3285301fe84643b00 |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update Clang for rebase to r212749. This also fixes a small issue with arm_neon.h not being generated always. Includes a cherry-pick of: r213450 - fixes mac-specific header issue r213126 - removes a default -Bsymbolic on Android Change-Id: I2a790a0f5d3b2aab11de596fc3a74e7cbc99081d
/external/clang/examples/clang-interpreter/main.cpp
|
6bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89 |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update Clang for 3.5 rebase (r209713). Change-Id: I8c9133b0f8f776dc915f270b60f94962e771bc83
/external/clang/examples/clang-interpreter/main.cpp
|
651f13cea278ec967336033dd032faef0e9fc2ec |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Updated to Clang 3.5a. Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/examples/clang-interpreter/main.cpp
|
fc3389701ead32709ba84825e4c06651065da2c0 |
|
12-Sep-2013 |
Hans Wennborg <hans@hanshq.net> |
Move Compilation::PrintJob and PrintDiagnosticJob into Job::Print. This moves the code to Job.cpp, which seems like a more natural fit, and replaces the "is this a JobList? is this a Command?" logic with a virtual function call. It also removes the code duplication between PrintJob and PrintDiagnosticJob and simplifies the code a little. There's no functionality change here, except that the Executable is now always printed within quotes, whereas it would previously not be quoted in crash reports, which I think was a bug. Differential Revision: http://llvm-reviews.chandlerc.com/D1653 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190620 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
a8a0da4e05ebbf31258e1a9a9d0416954a6a51b7 |
|
26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove unused header. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184945 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
ac1db6b2bde50e9a0f3846243f654f6c13682725 |
|
26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use llvm::sys::fs::getMainExecutable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184915 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
a372f40dac73b69936f6a713df0808c740bb326c |
|
17-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Include PathV1.h only where it is used. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
d47afb96a3f988e6d21a92fe4dfe875ab227c7c0 |
|
20-Jan-2013 |
Sean Silva <silvas@purdue.edu> |
Nuke SetUpBuildDumpLog. Also, it was the only reason that `argc` and `argv` were being passed into createDiagnostics, so remove those parameters and clean up callers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172945 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
804381d8ce78f60c40dd59f5a0b468a7de78b025 |
|
16-Jan-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Use getProcessTriple in clang-interpreter. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172664 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
cfa88f893915ceb8ae4ce2f17c46c24a4d67502f |
|
12-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Remove useless 'llvm::' qualifier from names like StringRef and others that are brought into 'clang' namespace by clang/Basic/LLVM.h git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172323 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
3b844ba7d5be205a9b4f5f0b0d1b7978977f4b8c |
|
02-Jan-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Rewrite #includes for llvm/Foo.h to llvm/IR/Foo.h as appropriate to reflect the migration in r171366. Re-sort the #include lines to reflect the new paths. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171369 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
e0c6e93dddf4503d9b12ce09d7ab6ea5d523499f |
|
04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort the #include lines for examples/... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169241 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
9d8b5fc45e48bb913dcb7f253f005418ba979534 |
|
27-Nov-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fix examples. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168705 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
35d516cf1aa88a1af7b25c869984758750af3c1b |
|
24-Oct-2012 |
Douglas Gregor <dgregor@apple.com> |
Update clang-interpreter example git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166510 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
c93dc7889644293e318e19d82830ea2acc45b678 |
|
20-Feb-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
Basic: import IntrusiveRefCntPtr<> into clang namespace The class name is long enough without the llvm:: added. Also bring in RefCountedBase and RefCountedBaseVPTR. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150958 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
36d592718ff342f762e32cbde73d1113f88cb275 |
|
13-Feb-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
drop more llvm:: prefixes on SmallString<> More cleanup after r149799. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
1e4c01b79273b9cd4e9e9ecfd3422df3900b8356 |
|
13-Feb-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
drop more llvm:: prefixes on OwningPtr<> More cleanup after r149798. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
1770e0dadcab966990cca4d7516253c886fd907c |
|
22-Dec-2011 |
Dylan Noblesmith <nobled@dreamwidth.org> |
remove unneeded config.h includes git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147195 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
5d8b9548420e67f1bf45b7bbc1cf9fb86e9e4505 |
|
01-Nov-2011 |
Sebastian Pop <spop@codeaurora.org> |
rename getHostTriple into getDefaultTargetTriple in clang git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143503 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
17e279405ed20e71369e9c8ee4d8d720d5ead716 |
|
07-Oct-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Add missing include to clang-interpreter example, to make it work on Windows. Patch by Dean Pavlekovic. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141324 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
10a82cde7c317c5dd41dc3faf17f503c52ce2a3d |
|
04-Oct-2011 |
Bob Wilson <bob.wilson@apple.com> |
Rip out flags for controlling C++ "production mode" separately. This is old leftover cruft from the days when C++ was not yet ready for prime time. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141063 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
d3c1661593e246f9cd25dc9da27e54b0a61ffe0d |
|
27-Sep-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Fix examples for r140478. PR11021. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140618 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
a6b4045dc462c03cd1e7cb9c3ec9dbfdb9c6ad62 |
|
24-Aug-2011 |
Evan Cheng <evan.cheng@apple.com> |
Match LLVM change: TargetRegistry and TargetSelect have been moved to Support. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138451 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
c8b3e6302f75c4fd44866ecfca9a7063d176c30c |
|
23-May-2011 |
Manuel Klimek <klimek@google.com> |
Fix examples compile break due to rewrite of isa. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131912 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
903dec2a0d96e4fc370050c204fe6aa27f29f6ab |
|
29-Mar-2011 |
John Thompson <John.Thompson.JTSoftware@gmail.com> |
Fixed build error. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128470 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
4b93d660c6326ec79b5e369317d1051cf826c2f3 |
|
20-Feb-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
Re-instate r125819 and r125820 with no functionality change git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126060 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
96b1d4b4eb6b18dd6df7a2c0833332b45840580f |
|
19-Feb-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Revert 125820 and 125819 to fix PR9266. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
906c73ffbc78542ad333becb6e013dd9efc299b6 |
|
18-Feb-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125820 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
03013fa9a0bf1ef4b907f5fec006c8f4000fdd21 |
|
29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Merge System into Support. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120297 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
97ab3ac0889b4956d518a145317e2d951428ba34 |
|
24-Nov-2010 |
Eli Friedman <eli.friedman@gmail.com> |
Unbreak clang-interpreter. (Should there be some automated testing for this?) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120069 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
ea1924e62162b299d797d23992a466142b3c6c68 |
|
17-Nov-2010 |
Dan Gohman <gohman@apple.com> |
Add a comment explaining why r117813 was needed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119518 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
aeed3da83c112d0649c30493c059314d85d99080 |
|
30-Oct-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Turns out that we may end up calling dladdr on GetExecutablePath, give it external linkage to make sure the lookup works on all platforms. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117813 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
f129562b4397be749148f5fe543c81f90fdfb6fc |
|
30-Oct-2010 |
Dan Gohman <gohman@apple.com> |
These functions don't need external linkage. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117733 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
06b901be05f92417af25de10c55b9e850e5e5c16 |
|
26-Aug-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Update clang-interpreter for recent DiagnosticClient ownership changes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
fa9fe0c62aa42dff58365c8015baa6771b21f5ac |
|
24-Jul-2010 |
Peter Collingbourne <peter@pcc.me.uk> |
Fix clang-interpreter build git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109347 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
9b414d3e2d0cb84512b55a3275a98490b090162a |
|
15-Jun-2010 |
Daniel Dunbar <daniel@zuster.org> |
Break Frontend's dependency on Rewrite, Checker and CodeGen in shared library configuration Currently, all AST consumers are located in the Frontend library, meaning that in a shared library configuration, Frontend has a dependency on Rewrite, Checker and CodeGen. This is suboptimal for clients which only wish to make use of the frontend. CodeGen in particular introduces a large number of unwanted dependencies. This patch breaks the dependency by moving all AST consumers with dependencies on Rewrite, Checker and/or CodeGen to their respective libraries. The patch therefore introduces dependencies in the other direction (i.e. from Rewrite, Checker and CodeGen to Frontend). After applying this patch, Clang builds correctly using CMake and shared libraries ("cmake -DBUILD_SHARED_LIBS=ON"). N.B. This patch includes file renames which are indicated in the patch body. Changes in this revision of the patch: - Fixed some copy-paste mistakes in the header files - Modified certain aspects of the coding to comply with the LLVM Coding Standards git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106010 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
a4f0a80e7367bad218ffe1f8ab1b380f690276ce |
|
20-Apr-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Tip of the day: save before commit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101896 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
9e8635a86db25415ed0b6b64b10984943b3bad65 |
|
20-Apr-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Fix -Wcast-qual warnings. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101895 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
5d93ed3c7a2dae0a8f422747e269963b3ef11d95 |
|
01-Apr-2010 |
Daniel Dunbar <daniel@zuster.org> |
Driver: Add support for a CLANGXX_IS_PRODUCTION build variable, which enable Clang++ support, even in "Production" mode (for testing purposes). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100119 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|
e22462867ca63e41eabe92b12d6182a62bd829a6 |
|
25-Feb-2010 |
Daniel Dunbar <daniel@zuster.org> |
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 -- git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97133 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/examples/clang-interpreter/main.cpp
|