- Oct 23, 2008
-
-
Ted Kremenek authored
Disable warning about potential leaks of returned values until we test it a little more (lots of noise). llvm-svn: 58021
-
Zhongxing Xu authored
llvm-svn: 58020
-
Douglas Gregor authored
pointer-to-base. Also, add overload ranking for pointer conversions (for both pointer-to-void and derived-to-base pointer conversions). Note that we do not yet diagnose derived-to-base pointer conversion errors that stem from ambiguous or inacessible base classes. These aren't handled during overload resolution; rather, when the conversion is actually used we go ahead and diagnose the error. llvm-svn: 58017
-
Chris Lattner authored
llvm-svn: 58016
-
Ted Kremenek authored
Update Xcode project. We still get a link error, however, because of an LLVM library that isn't being linked in for CodeGen (will fix). llvm-svn: 58015
-
Ted Kremenek authored
Warn about potentially leaked objects that are returned from methods whose names do not follow the Cocoa Memory Management guidelines. llvm-svn: 58012
-
-
Daniel Dunbar authored
LoopPass*. - Although less precise, this means they can be used in clients without RTTI (who would otherwise need to include LoopPass.h, which eventually includes things using dynamic_cast). This was the simplest solution that presented itself, but I am happy to use a better one if available. llvm-svn: 58010
-
Ted Kremenek authored
Fix incorrect testing for the end of the both strings in CStrInCStrNoCase. This could cause a read-out-of-bounds error if s2 is smaller than s1. llvm-svn: 58009
-
Argyrios Kyrtzidis authored
Restrict creation of OverloadedFunctionDecl only to C++ (it was getting used for invalid redeclarations on C). llvm-svn: 58008
-
rdar://problem/6311947Steve Naroff authored
Fix <rdar://problem/6311947> clang on xcode (regression): error: use of undeclared identifier 'expandedValue'. Mea culpa: I introduced this regresson in the following 2 commits: r57529 (10/14), r57841 (10/20). llvm-svn: 58007
-
Jim Grosbach authored
llvm-svn: 58006
-
- Oct 22, 2008
-
-
Ted Kremenek authored
llvm-svn: 58005
-
Douglas Gregor authored
Remove the GraphWriter-based version of the C++ class inheritance visualization, since it isn't being used and can't handle virtual bases properly llvm-svn: 58002
-
Douglas Gregor authored
Factored the QualTypeOrdering predicate into its own header (TypeOrdering.h), now that it is used in two places. llvm-svn: 58001
-
Argyrios Kyrtzidis authored
Now that DeclRefExpr accepts a NamedDecl, use a DeclRefExpr for when a CXXFieldDecl is referenced inside a method. llvm-svn: 58000
-
Ted Kremenek authored
Enhance reference-count checker to correctly identify CG "release" functions. This fixes <rdar://problem/6303488>. llvm-svn: 57997
-
rdar://problem/6257675Steve Naroff authored
Fix <rdar://problem/6257675> error: member reference base type ('NSUserDefaults *') is not a structure or union. Teach Sema::ActOnMemberReferenceExpr() to look through local category implementations associated with the class. llvm-svn: 57995
-
Daniel Dunbar authored
llvm-svn: 57993
-
Douglas Gregor authored
don't have duplicated direct base classes. Seriliazation of base class specifiers is not yet implemented. llvm-svn: 57991
-
Daniel Dunbar authored
llvm-svn: 57990
-
Daniel Dunbar authored
- The old versions are still hanging around, but should be migrated away from. llvm-svn: 57989
-
Chris Lattner authored
Roman Divacky! llvm-svn: 57988
-
Dale Johannesen authored
llvm-svn: 57987
-
Julien Lerouge authored
llvm-svn: 57984
-
Ted Kremenek authored
llvm-svn: 57981
-
Douglas Gregor authored
aren't trying to compare with address-space qualifiers (for now). Clean up handing of DeclRefExprs in Expr::isLvalue and refactor part of the check into a static DeclCanBeLvalue. llvm-svn: 57980
-
Zhongxing Xu authored
llvm-svn: 57979
-
Douglas Gregor authored
conversions (e.g., comparing int* -> const int* against int* -> const volatile int*); see C++ 13.3.3.2p3 bullet 3. Add Sema::UnwrapSimilarPointerTypes to simplify the control flow of IsQualificationConversion and CompareQualificationConversion (and fix the handling of the int* -> volatile int* conversion in the former). llvm-svn: 57978
-
Zhongxing Xu authored
llvm-svn: 57977
-
Gordon Henriksen authored
llvm-svn: 57976
-
Gordon Henriksen authored
llvm-svn: 57975
-
Gordon Henriksen authored
[PR2886] Don't look for ocaml's .opt executables; something in the autoconf/test machinery doesn't handle the period properly. llvm-svn: 57974
-
Duncan Sands authored
llvm-svn: 57973
-
Duncan Sands authored
assume that i64 has been turned into a BUILD_PAIR node (when called from LegalizeTypes this hasn't happened yet) and don't use a vector shuffle mask with an illegal element type. llvm-svn: 57972
-
Torok Edwin authored
llvm-svn: 57971
-
Argyrios Kyrtzidis authored
-Bring in int64_t for TableGen/Record.h and TableGen/TGLexer.h -Define strtoull llvm-svn: 57970
-
Duncan Sands authored
llvm-svn: 57969
-
Duncan Sands authored
may return i8, which can result in SELECT nodes for which the type of the condition is i8, but there are no patterns for select with i8 condition. Tweak the LegalizeTypes logic to avoid this as much as possible. This isn't a real fix because it is still perfectly possible to end up with such select nodes - CellSPU needs to be fixed IMHO. llvm-svn: 57968
-
Duncan Sands authored
ADDC/ADDE/SUBC/SUBE if the target supports it. llvm-svn: 57967
-