- Jun 26, 2009
-
-
Nate Begeman authored
llvm-svn: 74224
-
Nate Begeman authored
llvm-svn: 74221
-
Nate Begeman authored
llvm-svn: 74220
-
Nate Begeman authored
llvm-svn: 74217
-
Fariborz Jahanian authored
llvm-svn: 74216
-
Argyrios Kyrtzidis authored
llvm-svn: 74214
-
Douglas Gregor authored
templates. For example, this now type-checks (but does not instantiate the body of deref<int>): template<typename T> T& deref(T* t) { return *t; } void test(int *ip) { int &ir = deref(ip); } Specific changes/additions: * Template argument deduction from a call to a function template. * Instantiation of a function template specializations (just the declarations) from the template arguments deduced from a call. * FunctionTemplateDecls are stored directly in declaration contexts and found via name lookup (all forms), rather than finding the FunctionDecl and then realizing it is a template. This is responsible for most of the churn, since some of the core declaration matching and lookup code assumes that all functions are FunctionDecls. llvm-svn: 74213
-
- Jun 25, 2009
-
-
Argyrios Kyrtzidis authored
llvm-svn: 74207
-
Fariborz Jahanian authored
llvm-svn: 74205
-
Nate Begeman authored
llvm-svn: 74202
-
Argyrios Kyrtzidis authored
This tool will be the test bed for indexing related operations. It basically reads PCH files passed by the command line and performs various operations. Currently it can accept a file:line:column which resolves to a declaration/statement and displays some information about them. llvm-svn: 74198
-
Argyrios Kyrtzidis authored
Introduce the ResolveLocationInAST function which takes an ASTContext and a SourceLocation and it resolves it into a <Decl*, Stmt*> pair. Decl* is the declaration associated with this source location and Stmt* is the statement/expression that the location points to. If the location does not point to a statement node, Stmt* is null. ResolveLocationInAST (along with converting a file:line:column triplet to a SourceLocation) will be useful for an IDE client and for clang's test suite. llvm-svn: 74197
-
Argyrios Kyrtzidis authored
llvm-svn: 74196
-
Argyrios Kyrtzidis authored
llvm-svn: 74195
-
Argyrios Kyrtzidis authored
llvm-svn: 74194
-
Ted Kremenek authored
llvm-svn: 74182
-
Anders Carlsson authored
llvm-svn: 74177
-
Anders Carlsson authored
llvm-svn: 74175
-
Duncan Sands authored
llvm-svn: 74171
-
Zhongxing Xu authored
llvm-svn: 74168
-
Zhongxing Xu authored
llvm-svn: 74166
-
Douglas Gregor authored
llvm-svn: 74163
-
Douglas Gregor authored
llvm-svn: 74162
-
Zhongxing Xu authored
Revert to setting default value approach for handling struct initialization. llvm-svn: 74160
-
Ted Kremenek authored
llvm-svn: 74136
-
Ted Kremenek authored
llvm-svn: 74131
-
Ted Kremenek authored
llvm-svn: 74128
-
Anders Carlsson authored
llvm-svn: 74127
-
Fariborz Jahanian authored
look at it later. llvm-svn: 74126
-
- Jun 24, 2009
-
-
Anders Carlsson authored
llvm-svn: 74118
-
Anders Carlsson authored
llvm-svn: 74115
-
Fariborz Jahanian authored
llvm-svn: 74108
-
Ted Kremenek authored
llvm-svn: 74107
-
Ted Kremenek authored
llvm-svn: 74106
-
Ted Kremenek authored
llvm-svn: 74104
-
Ted Kremenek authored
llvm-svn: 74103
-
Ted Kremenek authored
llvm-svn: 74102
-
Ted Kremenek authored
llvm-svn: 74100
-
Anders Carlsson authored
llvm-svn: 74099
-
Ted Kremenek authored
llvm-svn: 74098
-