- Feb 11, 2009
-
-
Daniel Dunbar authored
case on x86_64. llvm-svn: 64333
-
Ted Kremenek authored
actually *slightly* slower than the binary search. Since this is algorithmically better, further performance tuning should be able to make this faster. llvm-svn: 64326
-
Daniel Dunbar authored
llvm-svn: 64325
-
Fariborz Jahanian authored
llvm-svn: 64323
-
Douglas Gregor authored
llvm-svn: 64321
-
rdar://problem/6505139Steve Naroff authored
Fix <rdar://problem/6505139> [clang on growl]: need to allow unnamed selectors as the first argument llvm-svn: 64320
-
-
Douglas Gregor authored
for non-external names whose address becomes the template argument. This completes C++ [temp.arg.nontype]p1. Note that our interpretation of C++ [temp.arg.nontype]p1b3 differs from EDG's interpretation (we're stricter, and GCC agrees with us). They're opening a core issue about the matter. llvm-svn: 64317
-
Mike Stump authored
llvm-svn: 64313
-
Douglas Gregor authored
Sema to ASTContext. llvm-svn: 64312
-
Douglas Gregor authored
template specialization (e.g., std::vector<int> would now be well-formed, since it relies on a default argument for the Allocator template parameter). This is much less interesting than one might expect, since (1) we're not actually using the default arguments for anything important, such as naming an actual Decl, and (2) we'll often need to instantiate the default arguments to check their well-formedness. The real fun will come later. llvm-svn: 64310
-
rdar://problem/6206858Steve Naroff authored
Added a FIXME to handle 'rethrow' check. llvm-svn: 64308
-
Douglas Gregor authored
Rename Sema::hasSameUnqualifiedType to QualType::isSameIgnoringQalifiers llvm-svn: 64307
-
Douglas Gregor authored
llvm-svn: 64306
-
Douglas Gregor authored
pointer-to-member-data non-type template parameters. Also, get consistent about what it means to returned a bool from CheckTemplateArgument. llvm-svn: 64305
-
Ted Kremenek authored
referenced by other tables. llvm-svn: 64304
-
rdar://6518463Chris Lattner authored
subtle and non-obvious promotion rules. We already handle += and +1 correctly. llvm-svn: 64296
-
Chris Lattner authored
finishing off rdar://6520707 llvm-svn: 64295
-
Ted Kremenek authored
llvm-svn: 64292
-
Anders Carlsson authored
llvm-svn: 64291
-
Anders Carlsson authored
llvm-svn: 64290
-
Douglas Gregor authored
llvm-svn: 64286
-
Douglas Gregor authored
non-type template parameters that are references to functions or pointers to member functions. Did a little bit of refactoring so that these two cases, along with the handling of non-type template parameters that are pointers to functions, are handled by the same path. Also, tweaked FixOverloadedFunctionReference to cope with member function pointers. This is a necessary step for getting all of the fun member pointer conversions working outside of template arguments, too. llvm-svn: 64277
-
Douglas Gregor authored
template parameters that have reference type. Effectively, we're doing a very limited form of reference binding here. llvm-svn: 64270
-
Douglas Gregor authored
non-type template parameters of pointer-to-object and pointer-to-function type. The most fun part of this is the use of overload resolution to pick a function from the set of overloaded functions that comes in as a template argument. Also, fixed two minor bugs in this area: - We were allowing non-type template parameters of type pointer to void. - We weren't patching up an expression that refers to an overloaded function set via "&f" properly. We're still not performing complete checking of the expression to be sure that it is referring to an object or function with external linkage (C++ [temp.arg.nontype]p1). llvm-svn: 64266
-
Ted Kremenek authored
llvm-svn: 64259
-
Mike Stump authored
llvm-svn: 64258
-
Douglas Gregor authored
integral or enumeration type. llvm-svn: 64256
-
- Feb 10, 2009
-
-
Anders Carlsson authored
llvm-svn: 64252
-
Fariborz Jahanian authored
tests in the dejagnu test suite in the nonfragile abi mode. llvm-svn: 64251
-
Ted Kremenek authored
PTH: Replace ad hoc 'file name' -> 'PTH data' lookup table in the PTH file with an on-disk chained hash table. This data structure is implemented using templates, and will be used to replace similar data structures. This change leads to no visibile performance impact on Cocoa.h, but now we only pay a price for the table on order with the number of files accessed and not the number in the PTH file. llvm-svn: 64245
-
Douglas Gregor authored
arrays and other structs/unions as an extension. Downgrade our error to a warning. Fixes PR3540. llvm-svn: 64239
-
Daniel Dunbar authored
- Missed this file. llvm-svn: 64238
-
Daniel Dunbar authored
llvm-svn: 64235
-
Fariborz Jahanian authored
type-nsobject-attribute.m in the dejagnu test suite in the nonfragile abi mode. llvm-svn: 64233
-
Mike Stump authored
We handle indentation of decls better. We Indent extern "C" { } stuff better. We print out structure contents more often. We handle pass indentation information into the statement printer, so that nested things come out more indented. We print out FieldDecls. We print out Vars. We print out namespaces. We indent functions better. llvm-svn: 64232
-
Mike Stump authored
llvm-svn: 64231
-
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
-
Fariborz Jahanian authored
in preparation for nonfragile ivar offset work. llvm-svn: 64225
-