- Nov 05, 2008
-
-
Ted Kremenek authored
llvm-svn: 58758
-
Douglas Gregor authored
Keep track of whether a C++ class is an aggregate. Don't allow initialization of non-aggregates with initializer lists. llvm-svn: 58757
-
Douglas Gregor authored
duplication in the handling of copy-initialization by constructor, which occurs both for initialization of a declaration and for overloading. The initialization code is due for some refactoring. llvm-svn: 58756
-
Douglas Gregor authored
for constructor initializations, e.g., class A { }; class B : public A { int m; public: B() : A(), m(17) { }; }; llvm-svn: 58749
-
- Nov 04, 2008
-
-
Cedric Venet authored
llvm-svn: 58716
-
Anders Carlsson authored
llvm-svn: 58705
-
Chris Lattner authored
llvm-svn: 58704
-
Sebastian Redl authored
Some cleanup of the cast checkers. Don't canonicalize types when not needed. Use distinct diagnostics for distinct errors. llvm-svn: 58700
-
Douglas Gregor authored
Add a new expression class, ObjCSuperExpr, to handle the Objective-C 'super'. Remove ObjCThis from PredefinedExpr llvm-svn: 58698
-
Douglas Gregor authored
Create a new expression class, CXXThisExpr, to handle the C++ 'this' primary expression. Remove CXXThis from PredefinedExpr llvm-svn: 58695
-
Douglas Gregor authored
llvm-svn: 58692
-
Douglas Gregor authored
Diagnose use of 'this' in a C++ default argument. Thanks to Eli for correcting my bogus assertion about it already being handled llvm-svn: 58691
-
Sebastian Redl authored
llvm-svn: 58689
-
Anders Carlsson authored
llvm-svn: 58685
-
Anders Carlsson authored
llvm-svn: 58681
-
Anders Carlsson authored
llvm-svn: 58680
-
Ted Kremenek authored
llvm-svn: 58666
-
rdar://problem/6339636Steve Naroff authored
Fix <rdar://problem/6339636> clang ObjC rewriter: Assertion failed: FileID-1 < FileIDs.size() && "Invalid FileID!", file c:\cygwin\home\Administrator\llvm\tools\clang\include\clang/Basic/SourceManager.h, line 513 llvm-svn: 58654
-
Ted Kremenek authored
Fix Plist output. llvm-svn: 58652
-
- Nov 03, 2008
-
-
Douglas Gregor authored
llvm-svn: 58649
-
Ted Kremenek authored
llvm-svn: 58647
-
Ted Kremenek authored
llvm-svn: 58646
-
Douglas Gregor authored
X x(5, 7); llvm-svn: 58641
-
Douglas Gregor authored
cope with the case where a user-defined conversion is actually a copy construction, and therefore can be compared against other standard conversion sequences. While I called this a hack before, now I'm convinced that it's the right way to go. Compare overloads based on derived-to-base conversions that invoke copy constructors. Suppress user-defined conversions when attempting to call a user-defined conversion. llvm-svn: 58629
-
Douglas Gregor authored
when appropriate. Conversions for class types now make use of copy constructors. I've replaced the egregious hack allowing class-to-class conversions with a slightly less egregious hack calling these conversions standard conversions (for overloading reasons). llvm-svn: 58622
-
Douglas Gregor authored
llvm-svn: 58613
-
Douglas Gregor authored
reference-collapsing. Implement diagnostic for formation of a reference to cv void. Drop cv-qualifiers added to a reference type when the reference type comes from a typedef. llvm-svn: 58612
-
Douglas Gregor authored
Connect ASTContext to TargetInfo when determining the size_t, ptrdiff_t, and wchar_t types. Fixes recent breakage on Linux. llvm-svn: 58609
-
Chris Lattner authored
the designator corresponding to it, otherwise Sema and later parsing will get confused. llvm-svn: 58603
-
Chris Lattner authored
llvm-svn: 58602
-
Zhongxing Xu authored
llvm-svn: 58597
-
Zhongxing Xu authored
llvm-svn: 58596
-
Zhongxing Xu authored
- Prepare AnonPointeeRegioin for later use. llvm-svn: 58595
-
- Nov 02, 2008
-
-
Sebastian Redl authored
llvm-svn: 58570
-
Zhongxing Xu authored
sets the whole struct to Unknown. Then we cannot assume the V passed to BindStruct() is always a CompoundVal. When it is an UnknownVal, we call BindStructToVal(UnknownVal). 2. Change the signature of InitializeStructToUndefined() to BindStructToVal() to reuse the code. llvm-svn: 58564
-
Eli Friedman authored
the types for size_t and ptrdiff_t more accurate. I think all of these are correct, but please compare the defines for __PTRDIFF_TYPE__ and __SIZE_TYPE__ to gcc to double-check; this particularly applies to those on BSD variants, since I'm not sure what they do here; I assume here that they're the same as on Linux. Fixes wchar_t to be "int", not "unsigned int" (which I think is correct on everything but Windows). Fixes ptrdiff_t to be "int" rather than "short" on PIC16; "short" is an somewhat strange choice because it normally gets promoted, and it's not consistent with the choice for size_t. llvm-svn: 58556
-
Ted Kremenek authored
llvm-svn: 58553
-
Ted Kremenek authored
llvm-svn: 58552
-
Ted Kremenek authored
llvm-svn: 58551
-
Ted Kremenek authored
Fixed a horrible bug in HTMLDiagnostics.cpp where bugs referencing source ranges that occur within macros would not be emitted at all. llvm-svn: 58550
-