- Jun 26, 2009
-
-
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
-
Evan Cheng authored
llvm-svn: 74212
-
- Jun 25, 2009
-
-
Bill Wendling authored
llvm-svn: 74211
-
Owen Anderson authored
llvm-svn: 74210
-
Owen Anderson authored
Windows people, please double-check/patch this. llvm-svn: 74209
-
Daniel Dunbar authored
llvm-svn: 74208
-
Argyrios Kyrtzidis authored
llvm-svn: 74207
-
Chris Lattner authored
llvm-svn: 74206
-
Fariborz Jahanian authored
llvm-svn: 74205
-
Chris Lattner authored
llvm-svn: 74204
-
Chris Lattner authored
llvm-svn: 74203
-
Nate Begeman authored
llvm-svn: 74202
-
Daniel Dunbar authored
llvm-svn: 74201
-
Evan Cheng authored
llvm-svn: 74200
-
Chris Lattner authored
llvm-svn: 74199
-
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
-
Mikhail Glushenkov authored
llvm-svn: 74193
-
Mikhail Glushenkov authored
llvm-svn: 74192
-
Mikhail Glushenkov authored
llvm-svn: 74191
-
Mikhail Glushenkov authored
The -save-temps option now behaves like described in GCC 4.5 release notes (you can specify output directory for temporary files with -save-temps=obj -o $DIRNAME). I do not have GCC 4.5 installed, so if there are any inconsistencies between llvmc and GCC in the implementation of this feature, please let me know. llvm-svn: 74190
-
Owen Anderson authored
llvm-svn: 74189
-
Owen Anderson authored
I did my best at implementing this for Win32, but I don't have a way to test it. Can someone with access to a Win32 machine test/fix this? llvm-svn: 74188
-
Sanjiv Gupta authored
llvm-svn: 74187
-
Chris Lattner authored
llvm-svn: 74186
-
David Goodwin authored
llvm-svn: 74185
-
Chris Lattner authored
from the asmprinter. llvm-svn: 74184
-
Chris Lattner authored
llvm-svn: 74183
-
Ted Kremenek authored
llvm-svn: 74182
-
Chris Lattner authored
llvm-svn: 74181
-
Owen Anderson authored
to be shared, but how/where to privatize it is not immediately clear to me. If any SelectionDAG experts see a better solution, please share! llvm-svn: 74180
-
Owen Anderson authored
llvm-svn: 74179
-
Owen Anderson authored
this case, but it should help avoid issues in the future. llvm-svn: 74178
-
Anders Carlsson authored
llvm-svn: 74177
-
Bob Wilson authored
llvm-svn: 74176
-
Anders Carlsson authored
llvm-svn: 74175
-