- Feb 11, 2009
-
-
Douglas Gregor authored
integral or enumeration type. llvm-svn: 64256
-
- Feb 10, 2009
-
-
Anders Carlsson authored
llvm-svn: 64252
-
Douglas Gregor authored
arrays and other structs/unions as an extension. Downgrade our error to a warning. Fixes PR3540. llvm-svn: 64239
-
Douglas Gregor authored
llvm-svn: 64230
-
Douglas Gregor authored
arguments. This commit covers checking and merging default template arguments from previous declarations, but it does not cover the actual use of default template arguments when naming class template specializations. llvm-svn: 64229
-
Douglas Gregor authored
llvm-svn: 64223
-
Daniel Dunbar authored
gcc compat test suite results (Darwin x86-32 & -64): -- # of expected passes 1110 # of unexpected failures 74 # of unresolved testcases 168 # of unsupported tests 2 llvm-svn: 64197
-
Daniel Dunbar authored
llvm-svn: 64195
-
Douglas Gregor authored
disambiguation contexts, so that we properly parse template arguments such as A<int()> as type-ids rather than as expressions. Since this can be confusing (especially when the template parameter is a non-type template parameter), we try to give a friendly error message. Almost, eliminate a redundant error message (that should have been a note) and add some ultra-basic checks for non-type template arguments. llvm-svn: 64189
-
Douglas Gregor authored
template parameters. llvm-svn: 64188
-
Daniel Dunbar authored
ABI. llvm-svn: 64187
-
Douglas Gregor authored
template parameters when performing semantic analysis of a template-id naming a class template specialization. llvm-svn: 64185
-
- Feb 09, 2009
-
-
Anders Carlsson authored
llvm-svn: 64175
-
Anders Carlsson authored
llvm-svn: 64173
-
Daniel Dunbar authored
llvm-svn: 64168
-
Douglas Gregor authored
to tell it that it wasn't (directly) designated. This way, we unwind back to the explicit initializer list properly rather than getting stuck in the wrong subobject. Fixes llvm.org/PR3519 llvm-svn: 64155
-
Douglas Gregor authored
to a class template. For example, the template-id 'vector<int>' now has a nice, sugary type in the type system. What we can do now: - Parse template-ids like 'vector<int>' (where 'vector' names a class template) and form proper types for them in the type system. - Parse icky template-ids like 'A<5>' and 'A<(5 > 0)>' properly, using (sadly) a bool in the parser to tell it whether '>' should be treated as an operator or not. This is a baby-step, with major problems and limitations: - There are currently two ways that we handle template arguments (whether they are types or expressions). These will be merged, and, most likely, TemplateArg will disappear. - We don't have any notion of the declaration of class template specializations or of template instantiations, so all template-ids are fancy names for 'int' :) llvm-svn: 64153
-
Sebastian Redl authored
References are not objects; implement this in Type::isObjectType(). llvm-svn: 64152
-
Ted Kremenek authored
Fix PR 2514: Do not flag dead initializations for variables initialized to a constant global variable. llvm-svn: 64149
-
Douglas Gregor authored
than a Decl, which gives us some more flexibility to express the results with the type system. There are no clients using this flexibility yet, but it's meant to be able to describe qualified names as written in the source (e.g., "foo::type") or template-ids that name a class template specialization (e.g., "std::vector<INT>"). DeclSpec's TST_typedef has become TST_typename, to reflect its use to describe types found by name (that may or may not be typedefs). The type representation of a DeclSpec with TST_typename is an opaque QualType pointer. All users of TST_typedef, both direct and indirect, have been updated for these changes. llvm-svn: 64141
-
- Feb 08, 2009
-
-
Chris Lattner authored
llvm-svn: 64087
-
Sebastian Redl authored
llvm-svn: 64085
-
Sebastian Redl authored
llvm-svn: 64081
-
Sebastian Redl authored
llvm-svn: 64080
-
Mike Stump authored
llvm-svn: 64074
-
Anders Carlsson authored
llvm-svn: 64047
-
- Feb 07, 2009
-
-
Ted Kremenek authored
llvm-svn: 64045
-
Sebastian Redl authored
This uncovers some bugs, so several test cases now fail. llvm-svn: 64025
-
Douglas Gregor authored
llvm-svn: 64019
-
Sebastian Redl authored
llvm-svn: 64015
-
Sebastian Redl authored
llvm-svn: 63987
-
Sebastian Redl authored
llvm-svn: 63985
-
Sebastian Redl authored
llvm-svn: 63983
-
- Feb 06, 2009
-
-
Douglas Gregor authored
redeclarations. For example, checks that a class template redeclaration has the same template parameters as previous declarations. Detangled class-template checking from ActOnTag, whose logic was getting rather convoluted because it tried to handle C, C++, and C++ template semantics in one shot. Made some inroads toward eliminating extraneous "declaration does not declare anything" errors by adding an "error" type specifier. llvm-svn: 63973
-
Ted Kremenek authored
Add sub-testcase where we process Cocoa.h using --disable-free (i.e., test the usage of the BumpPtrAllocator in ASTContext). llvm-svn: 63957
-
Daniel Dunbar authored
llvm-svn: 63952
-
Douglas Gregor authored
matching member exists. Thanks to Piotr Rak for reporting the problem! llvm-svn: 63939
-
Zhongxing Xu authored
llvm-svn: 63930
-
Zhongxing Xu authored
for FieldRegion. This enables us to track more values. Simplify SymbolicRegion::getRValueType(). We assume the symbol always has pointer type. llvm-svn: 63928
-
Chris Lattner authored
diffing the output of: clang -dM -o - -E -x c foo.c | sort llvm-svn: 63926
-