- Nov 16, 2009
-
-
Ken Dyck authored
__INTn_C_SUFFIX__ macros that are defined for types with corresponding constant suffixes (i.e. long and long long). llvm-svn: 88914
-
Duncan Sands authored
passing the name (an exotic way of specifying that the result is signed!). llvm-svn: 88909
-
Mike Stump authored
llvm-svn: 88901
-
Eli Friedman authored
This doesn't have any visible effects at the moment because normally the implicit cast code forces the type to the expected type. llvm-svn: 88896
-
Eli Friedman authored
llvm-svn: 88894
-
Eli Friedman authored
llvm-svn: 88893
-
Eli Friedman authored
for a call to a virtual function. llvm-svn: 88891
-
Eli Friedman authored
llvm-svn: 88890
-
Zhongxing Xu authored
* Add a load type to GRExprEngine::EvalLoad(). * When retrieve from 'theValue' of OSAtomic funcitions, use the type of the region instead of the argument expression as the load type. * Then we can convert CastRetrievedSVal to a pure assertion. In the future we can let all Retrieve() methods simply return SVal. llvm-svn: 88888
-
Eli Friedman authored
PR5449. llvm-svn: 88885
-
Zhongxing Xu authored
llvm-svn: 88882
-
Chandler Carruth authored
llvm-svn: 88879
-
Anders Carlsson authored
llvm-svn: 88878
-
- Nov 15, 2009
-
-
Anders Carlsson authored
llvm-svn: 88877
-
Anders Carlsson authored
llvm-svn: 88876
-
Mike Stump authored
llvm-svn: 88871
-
Anders Carlsson authored
llvm-svn: 88859
-
Anders Carlsson authored
llvm-svn: 88858
-
Anders Carlsson authored
llvm-svn: 88857
-
Mike Stump authored
llvm-svn: 88852
-
Anders Carlsson authored
If we find a deallocation function in the class scope, but it is a placement function we should not look for a deallocation function in the global scope. llvm-svn: 88851
-
Edward O'Callaghan authored
llvm-svn: 88850
-
Douglas Gregor authored
that we're dealing with canonical types like the documentation say (yay, CanQualType). Alas, this is another instance where using getQualifiers() on a non-canonical QualType got us in trouble. Good news: with this fix, Clang can now parse all of its own headers! llvm-svn: 88848
-
Douglas Gregor authored
llvm-svn: 88847
-
Douglas Gregor authored
set, expand overloaded function declarations. Long-term, this should actually be done by the name-lookup code rather than here, but this part of the code (involving using declarations) is getting a makeover now and the test-case is useful. llvm-svn: 88846
-
Mike Stump authored
llvm-svn: 88843
-
Douglas Gregor authored
type, use full qualified name lookup rather than the poking the declaration context directly. This makes sure that we see operator()'s in superclasses. Also, move the complete-type check before this name lookup. llvm-svn: 88842
-
Douglas Gregor authored
If any errors have occurred by the time we hit the end of a function body, clear out any remaining temporaries so they aren't seen later. llvm-svn: 88834
-
Daniel Dunbar authored
- This ended up being hard to factor, sorry for the large diff. - Some post-commit cleanup to come. llvm-svn: 88833
-
Mike Stump authored
llvm-svn: 88828
-
Mike Stump authored
llvm-svn: 88823
-
- Nov 14, 2009
-
-
Anders Carlsson authored
llvm-svn: 88821
-
Daniel Dunbar authored
- We still need support for detecting the target features, since the name doesn't actually do a good job of decribing what the CPU supports (for LLVM). llvm-svn: 88819
-
Anders Carlsson authored
Add an internal CreateRecordDecl that will create a CXXRecordDecl when compiling C++ and a RecordDecl otherwise. llvm-svn: 88816
-
Anders Carlsson authored
llvm-svn: 88811
-
Anders Carlsson authored
llvm-svn: 88810
-
Sebastian Redl authored
- Have TryStaticImplicitCast set the cast kind to NoOp when binding a reference. CheckReferenceInit already inserts implicit casts to the necessary types. This fixes an assertion in CodeGen for some casts and brings a fix for PR5453 close, if I understand that bug correctly. - Also, perform calculated implicit cast sequences if they're determined to work. This finally diagnoses static_cast to ambiguous or implicit bases and fixes two long-standing fixmes in the test case. For the C-style cast, this requires propagating the access check suppression pretty deep into other functions. - Pass the expressions for TryStaticCast and TryStaticImplicitCast by reference. This should lead to a better AST being emitted for such casts, and also fixes a memory leak, because CheckReferenceInit and PerformImplicitConversion wrap the node passed to them. These wrappers were previously lost. llvm-svn: 88809
-
Anders Carlsson authored
llvm-svn: 88808
-
Anders Carlsson authored
Have CGDebugInfo::getOrCreateType cache the QualType instead of having every ConvertType overload do it. llvm-svn: 88807
-
Benjamin Kramer authored
llvm-svn: 88797
-