- Mar 22, 2009
-
-
Nuno Lopes authored
llvm-svn: 67472
-
Ted Kremenek authored
- Make the Diagnostic::Level for PTH errors to be specified by the caller clang (driver): - Set the PTHManager diagnostic level to "Diagnostic::Error" for -include-pth (a hard error) and Diagnostic::Warning for -token-cache (we can still proceed). llvm-svn: 67462
-
Anders Carlsson authored
Keep track of whether a class is abstract or not. This is currently only used for the __is_abstract type trait. llvm-svn: 67461
-
Chris Lattner authored
build. This shaves another 3% off. llvm-svn: 67460
-
Chris Lattner authored
in release-assert builds. For automatic variables, explicitly set a name with setName that does not make a temporary std::string. This speeds up -emit-llvm-only -disable-free on PR3810 by 4.6% llvm-svn: 67459
-
Chris Lattner authored
ctor function. This avoids creating a temporary std::string for the name, speeding up the testcase in PR3810 by 3.8% llvm-svn: 67457
-
Chris Lattner authored
llvm-svn: 67456
-
- Mar 21, 2009
-
-
Mike Stump authored
copy_helpers and dispose_helpers as necessary for them. llvm-svn: 67453
-
Douglas Gregor authored
lists. The code wasn't accounting for the distinction between the top-level call to getStructuredSubobjectInit and later calls that occur deeper in the hierarchy. This problem manifested itself as over-allocation in cases where we have large arrays of small structures (<rdar://problem/6707362>). llvm-svn: 67452
-
Fariborz Jahanian authored
category or protocol. llvm-svn: 67450
-
Chris Lattner authored
very simple places, reimplement the deferred decl emission logic to not be O(N^2), fixing PR3810. llvm-svn: 67447
-
Chris Lattner authored
function definition. llvm-svn: 67446
-
Chris Lattner authored
code path. llvm-svn: 67445
-
Chris Lattner authored
GetAddrOfFunction. This is simpler and more efficient. llvm-svn: 67444
-
Chris Lattner authored
CreateFunctionPrototypeIR, though my next patch will eliminate it entirely. llvm-svn: 67443
-
Chris Lattner authored
1. it wasn't applying to definitions, only declarations, e.g. int x __asm("foo") 2. multiple definitions were conflicting, they weren't getting merged. 3. the code was duplicated in several places. llvm-svn: 67442
-
Chris Lattner authored
llvm-svn: 67441
-
Chris Lattner authored
llvm-svn: 67440
-
Chris Lattner authored
llvm-svn: 67439
-
Chris Lattner authored
more optimistic that it will work (optimizing for the common case). llvm-svn: 67438
-
Chris Lattner authored
llvm-svn: 67437
-
Chris Lattner authored
llvm-svn: 67436
-
Chris Lattner authored
by ~2%. llvm-svn: 67434
-
Chris Lattner authored
llvm-svn: 67432
-
Chris Lattner authored
speeding up the testcase in PR3810 by 60%. llvm-svn: 67431
-
Chris Lattner authored
other code presumably) by 4.3% llvm-svn: 67430
-
Chris Lattner authored
This speeds up a testcase in 3810 by ~16%. llvm-svn: 67429
-
Daniel Dunbar authored
code; and don't return an error code when -### is present, even if errors occur. llvm-svn: 67425
-
Ted Kremenek authored
it a hard error. llvm-svn: 67424
-
Ted Kremenek authored
llvm-svn: 67423
-
Douglas Gregor authored
its vectors based on the subobject type we're initializing and the (unstructured) initializer list. This eliminates some malloc thrashing when parsing initializers (from 117 vector reallocations down to 0 when parsing Cocoa.h). We can't always pre-allocate the right amount of storage, since designated initializers can cause us to initialize in non-predictable patterns. llvm-svn: 67421
-
Daniel Dunbar authored
- <rdar://problem/6669441> ccc doesn't handle assembler-with-cpp semantics correctly (but clang supports it) - This is sad, because it requires a fairly useless target hook. C'est la vie. llvm-svn: 67418
-
Douglas Gregor authored
llvm-svn: 67417
-
Douglas Gregor authored
simplify the parsing and action interface for designated initializers. llvm-svn: 67415
-
- Mar 20, 2009
-
-
Douglas Gregor authored
variant of DiagnosticBuilder that emits the template instantiation backtrace when needed. llvm-svn: 67413
-
Mike Stump authored
llvm-svn: 67406
-
rdar://problem/6704086Ted Kremenek authored
allow non-literal format strings that are variables that (a) permanently bind to a string constant and (b) whose string constants are resolvable within the same translation unit. llvm-svn: 67404
-
Fariborz Jahanian authored
llvm-svn: 67402
-
Douglas Gregor authored
llvm-svn: 67397
-
Chris Lattner authored
Add a #include directive around the command line buffer so that diagnostics generated from -include directives get diagnostics like: In file included from <built-in>:98: In file included from <command line>:3: ./t.h:2:1: warning: type specifier missing, defaults to 'int' b; ^ llvm-svn: 67396
-