- Feb 06, 2012
-
-
Abramo Bagnara authored
Added source location for the template keyword in DependentTemplateSpecializationTypeLoc nodes (DTSTLoc). The new info is propagated to TSTLoc on template instantiation, getting rid of 3 FIXMEs in TreeTransform.h and another one Parser.cpp. Simplified code in TypeSpecLocFiller visitor methods for DTSTLoc and DependentNameTypeLoc by removing what now seems to be dead code (adding corresponding assertions). llvm-svn: 149923
-
Chris Lattner authored
llvm-svn: 149916
-
Chris Lattner authored
llvm-svn: 149915
-
Manuel Klimek authored
assignment operator. llvm-svn: 149909
-
Eli Friedman authored
llvm-svn: 149908
-
Ted Kremenek authored
Tweak format string checking to work with %@ and ObjC toll-free bridging. <rdar://problem/10814120> llvm-svn: 149907
-
Eric Christopher authored
Add a quiet option for dwarfdump and move it out of NDEBUG only. Still requires an option as we don't want this on by default. llvm-svn: 149894
-
Eric Christopher authored
to leave this as a debug only option for now. llvm-svn: 149890
-
Abramo Bagnara authored
Removed redundant location info from ElaboratedTypeLoc / DependentNameLoc / DependentTSTLoc. Uniformed names referencing elaborated keyword. No intended functionality changes. llvm-svn: 149889
-
Fariborz Jahanian authored
enums with underlying type explicitly specified (feature which is on by default in objective-c). // rdar://10798770 llvm-svn: 149888
-
Devang Patel authored
llvm-svn: 149881
-
Benjamin Kramer authored
- Turn openSUSE version parsing into a StringSwitch - Add an entry for Fedora release 16 (Verne) llvm-svn: 149872
-
Abramo Bagnara authored
Added location for template keyword in TemplateSpecializationTypeLoc. In the process removed some naming ambiguities. llvm-svn: 149870
-
Benjamin Kramer authored
llvm-svn: 149869
-
Abramo Bagnara authored
llvm-svn: 149868
-
Benjamin Kramer authored
llvm-svn: 149864
-
Craig Topper authored
Fix vector splat casts to cast element to the appropriate vector element before inserting into the vector. Fixes PR11930. llvm-svn: 149855
-
Richard Smith authored
llvm-svn: 149854
-
Aaron Ballman authored
llvm-svn: 149852
-
- Feb 05, 2012
-
-
Benjamin Kramer authored
Move operator overload out of line. Calling operator<< on a forward declared type doesn't seem to work on MSVC. llvm-svn: 149819
-
Richard Smith authored
can't produce a constant expression is not ill-formed (so long as some instantiation of that function can produce a constant expression). llvm-svn: 149802
-
Chris Lattner authored
llvm-svn: 149801
-
Dylan Noblesmith authored
(I was going to fix the TODO about DenseMap too, but that would break self-host right now. See PR11922.) llvm-svn: 149799
-
Dylan Noblesmith authored
llvm-svn: 149798
-
Richard Smith authored
lvalue-to-rvalue conversions on the source type of the conversion, not the target type (which has them removed for non-class types). llvm-svn: 149796
-
Bob Wilson authored
We had been generating load/store instructions with the default alignment for the vector element type, even when the pointer argument had less alignment. <rdar://problem/10538555> llvm-svn: 149794
-
- Feb 04, 2012
-
-
Sebastian Redl authored
llvm-svn: 149792
-
Sebastian Redl authored
Factor out the actual overload resolution from TryConstructorInitialization, since it needs to be used again for list constructor resolution. llvm-svn: 149791
-
Sebastian Redl authored
Don't unwrap initializer lists before calling TryConstructorInitialization, instead doing a little more work inside. This should make finding initializer list constructors easier, as well as fix one place where the ({}) vs {} issue was probably poorly handled. llvm-svn: 149790
-
Benjamin Kramer authored
Fix all the transitive include users. llvm-svn: 149783
-
Benjamin Kramer authored
- Move the offending methods out of line and fix transitive includers. - This required changing an enum in the PPCallback API into an unsigned. llvm-svn: 149782
-
Benjamin Kramer authored
Fix all the files that depended on transitive includes of Diagnostic.h. With this patch in place changing a diagnostic no longer requires a full rebuild of the StaticAnalyzer. llvm-svn: 149781
-
Benjamin Kramer authored
Move Storage and StorageAllocator out of the PartialDiagnostic class so we can forward declare them. Let ASTContext allocate the storage in its BumpPtrAllocator. This will help us remove ASTContext's depedency on PartialDiagnostic.h soon. llvm-svn: 149780
-
Richard Smith authored
value of class type, look for a unique conversion operator converting to integral or unscoped enumeration type and use that. Implements [expr.const]p5. Sema::VerifyIntegerConstantExpression now performs the conversion and returns the converted result. Some important callers of Expr::isIntegralConstantExpr have been switched over to using it (including all of those required for C++11 conformance); this switch brings a side-benefit of improved diagnostics and, in several cases, simpler code. However, some language extensions and attributes have not been moved across and will not perform implicit conversions on constant expressions of literal class type where an ICE is required. In passing, fix static_assert to perform a contextual conversion to bool on its argument. llvm-svn: 149776
-
Richard Smith authored
array new expression. This lays some groundwork for the implicit conversion to integral or unscoped enumeration which C++11 ICEs undergo. llvm-svn: 149772
-
Anna Zaks authored
[analyzer] Make sure Containers OutOfBounds checker does not crash on undefined arguments, when CF functions are called with wrong number of arguments. llvm-svn: 149771
-
Richard Smith authored
llvm-svn: 149770
-
Richard Smith authored
new, is well-formed with defined semantics of throwing (a type which can be caught by a handler for) std::bad_array_new_length, unlike in C++98 where it is somewhere nebulous between undefined behavior and ill-formed. If the array size is an integral constant expression and satisfies one of these criteria, we would previous the array new expression, but now in C++11 mode, we merely issue a warning (the code is still rejected in C++98 mode, naturally). We don't yet implement new C++11 semantics correctly (see PR11644), but we do implement the overflow checking, and (for the default operator new) convert such expressions to an exception, so accepting such code now does not seem especially unsafe. llvm-svn: 149767
-
Argyrios Kyrtzidis authored
llvm-svn: 149764
-
Nick Lewycky authored
allocator is given the pointer to allocate into. llvm-svn: 149760
-