- Dec 06, 2009
-
-
Eli Friedman authored
generation, and make sure we generate thunks when the function is defined rather than when the vtable is defined. llvm-svn: 90722
-
Douglas Gregor authored
PointerUnion == PointerUnion does not do what I thought it did. Also, fix a thinko in a PointerUnion::get call. llvm-svn: 90719
-
Chris Lattner authored
to fix it ATM. llvm-svn: 90717
-
Eli Friedman authored
llvm-svn: 90716
-
Douglas Gregor authored
llvm::DenseMap, for a 20% performance improvement in the Cocoa-big-list performance benchmark. llvm-svn: 90715
-
Chris Lattner authored
llvm-svn: 90714
-
Chris Lattner authored
intended. On the first testcase in the bug, we now produce: cxx-decl.cpp:12:2: error: unexpected ':' in nested name specifier y:a a2; ^ :: instead of: t.cc:8:1: error: C++ requires a type specifier for all declarations x:a a2; ^ t.cc:8:2: error: invalid token after top level declarator x:a a2; ^ ; t.cc:9:11: error: use of undeclared identifier 'a2' x::a a3 = a2; ^ llvm-svn: 90713
-
Chris Lattner authored
llvm-svn: 90712
-
Anders Carlsson authored
llvm-svn: 90711
-
Chris Lattner authored
llvm-svn: 90710
-
Chris Lattner authored
llvm-svn: 90709
-
Chris Lattner authored
llvm-svn: 90708
-
Chris Lattner authored
llvm-svn: 90707
-
Zhongxing Xu authored
llvm-svn: 90706
-
Daniel Dunbar authored
and I can't figure out how to write it more portably. llvm-svn: 90705
-
Daniel Dunbar authored
Document that CompilerInvocation::createDiagnostics keeps a reference to the DiagnosticOptions, and update callers to make sure they don't pass in a temporary. llvm-svn: 90704
-
Daniel Dunbar authored
llvm-svn: 90703
-
Eli Friedman authored
Fixes PR5695. llvm-svn: 90702
-
Daniel Dunbar authored
Also, update SourceManager.h doxyments for getBuffer() to reflect reality. llvm-svn: 90701
-
Daniel Dunbar authored
Change Preprocessor::EnterSourceFile to make ErrorStr non-optional, clients should be forced to deal with error conditions. llvm-svn: 90700
-
Daniel Dunbar authored
files. - The issue is that PCH uses a stat cache, which may reference files which have been deleted or moved. In such cases ContentCache::getBuffer was returning 0 but most clients are incapable of dealing with this (i.e., they don't). For the time being, resolve this issue by just making up some invalid file contents and. Eventually we should detect that we are in an inconsistent situation and error out with a nice message that the PCH is out of date. llvm-svn: 90699
-
Chris Lattner authored
because clang lowers nontrivial automatic struct/array inits to memcpy from a global array. llvm-svn: 90698
-
Chris Lattner authored
llvm-svn: 90697
-
Chris Lattner authored
llvm-svn: 90696
-
Chris Lattner authored
short x(short *A) { memset(A, 1, sizeof(*A)*100); return A[42]; } to 'return 257' instead of doing the load. llvm-svn: 90695
-
Chris Lattner authored
shift amount. llvm-svn: 90694
-
Steve Naroff authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=86026 Note: The 'improved debugging' changes weren't integrated (since they were later reverted, since they didn't improve debugging). llvm-svn: 90693
-
Steve Naroff authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=82174 llvm-svn: 90692
-
Chris Lattner authored
llvm-svn: 90691
-
Steve Naroff authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=72893 llvm-svn: 90690
-
Anders Carlsson authored
llvm-svn: 90689
-
Steve Naroff authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=71473 llvm-svn: 90688
-
Anders Carlsson authored
llvm-svn: 90687
-
Anders Carlsson authored
Pass the desired vtable linkage to GenerateVtable directly. Only call MaybeMarkVirtualImplicitMembersReferenced for non-inline functions. llvm-svn: 90686
-
Oscar Fuentes authored
llvm-svn: 90685
-
Anders Carlsson authored
llvm-svn: 90684
-
Oscar Fuentes authored
Patch by Michael Beck! llvm-svn: 90683
-
Eli Friedman authored
it gets called during template instantiation. llvm-svn: 90682
-
- Dec 05, 2009
-
-
Anders Carlsson authored
Only emit the vtable definition if the class has a key function and we're emitting it, or if the class doesn't have a key function and we are emitting the complete constructor. llvm-svn: 90681
-