- Feb 25, 2010
-
-
Daniel Dunbar authored
- 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
-
Zhongxing Xu authored
llvm-svn: 97131
-
Zhongxing Xu authored
llvm-svn: 97129
-
Chandler Carruth authored
types. Rank these conversions below other conversions. This allows overload resolution when the only distinction is between a complex and scalar type. It also brings the complex overload resolutin in line with GCC's. llvm-svn: 97128
-
Zhongxing Xu authored
llvm-svn: 97127
-
Zhongxing Xu authored
This patch implements the CallEnter/CallExit idea of Ted. Add two interfaces to GRSubEngine: ProcessCallEnter, ProcessCallExit. The CallEnter program point uses caller's location context. The CallExit program point uses callee's location context. CallEnter is built by GRStmtNodeBuilder. CallExit is built by GREndPathNodeBuilder. llvm-svn: 97122
-
Ted Kremenek authored
to various MacOS X functions. The checks in BasicObjCFoundationChecks.cpp will gradually be migrated here. As a first check, check that when 'dispatch_once()' is passed a predicate value that has non-local storage. llvm-svn: 97116
-
Ted Kremenek authored
llvm-svn: 97115
-
Sanjiv Gupta authored
so get the name from Var rather than the original decl. llvm-svn: 97114
-
Douglas Gregor authored
llvm-svn: 97113
-
Douglas Gregor authored
class types, dependent types, and namespaces. I had previously weakened this invariant while working on parsing pseudo-destructor expressions, but recent work in that area has made these changes unnecessary. llvm-svn: 97112
-
Daniel Dunbar authored
llvm-svn: 97111
-
Daniel Dunbar authored
This is the way I would like to move the frontend function towards -- distinct pieces of functionality should be exposed only via FrontendAction implementations which have clean and relatively-stable APIs. This also isolates the surface area in clang which depends on LLVM CodeGen. llvm-svn: 97110
-
Anders Carlsson authored
llvm-svn: 97109
-
Anders Carlsson authored
llvm-svn: 97107
-
Daniel Dunbar authored
llvm-svn: 97106
-
Ted Kremenek authored
when it is explicitly marked as unused via __attribute__((unused)). llvm-svn: 97104
-
Ted Kremenek authored
llvm-svn: 97103
-
Daniel Dunbar authored
llvm-svn: 97102
-
Daniel Dunbar authored
messages with. llvm-svn: 97101
-
Douglas Gregor authored
instantiation changes. llvm-svn: 97095
-
Douglas Gregor authored
expressions that look like pseudo-destructors, e.g., p->T::~T() where p has dependent type. At template instantiate time, we determine whether we actually have a pseudo-destructor or a member access, and funnel down to the appropriate routine in Sema. Fixes PR6380. llvm-svn: 97092
-
John McCall authored
When diagnosing bad conversions, skip the conversion for ignored object arguments. Fixes PR 6398. llvm-svn: 97090
-
Ted Kremenek authored
llvm-svn: 97088
-
Ted Kremenek authored
to various unix/posix functions, e.g. 'open()'. As a first check, check that when 'open()' is passed 'O_CREAT' that it has a third argument. llvm-svn: 97086
-
Ted Kremenek authored
llvm-svn: 97085
-
Ted Kremenek authored
llvm-svn: 97084
-
Ted Kremenek authored
llvm-svn: 97083
-
Ted Kremenek authored
llvm-svn: 97082
-
Douglas Gregor authored
llvm-svn: 97080
-
Douglas Gregor authored
CXXPseudoDestructorExpr. Update template instantiation for pseudo-destructor expressions to use this source information and to make use of Sema::BuildPseudoDestructorExpr when the base expression is dependent or refers to a scalar type. llvm-svn: 97079
-
Douglas Gregor authored
type-specifier-seq. Fixes some conditional-jump-on-unitialized-value errors in valgrind. Also counts as attempt #2 at making the MSVC buildbot happy. llvm-svn: 97077
-
Douglas Gregor authored
pseudo-destructor expression. Attempt #1 at fixing the MSVC buildbot. llvm-svn: 97076
-
- Feb 24, 2010
-
-
Fariborz Jahanian authored
my last patch. llvm-svn: 97075
-
Fariborz Jahanian authored
blocks use variables not used in any of the outer blocks. (Fixes radar 7682149). llvm-svn: 97073
-
Douglas Gregor authored
parser's data structures and the part that performs semantic analysis and AST building, in preparation for improved template instantiation of pseudo-destructor expressions. llvm-svn: 97070
-
Anders Carlsson authored
Get rid of 'this' adjustments from the FinalOverriders class since they can be different for the same overrider in different parts of the vtable. llvm-svn: 97068
-
Anders Carlsson authored
llvm-svn: 97067
-
Anders Carlsson authored
llvm-svn: 97066
-
Douglas Gregor authored
llvm-svn: 97063
-