- Nov 22, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 59872
-
Sebastian Redl authored
Implement a %plural modifier for complex plural forms in diagnostics. Use it in the overload diagnostics. llvm-svn: 59871
-
Zhongxing Xu authored
llvm-svn: 59870
-
Zhongxing Xu authored
ConcreteInt index for now. llvm-svn: 59869
-
Chris Lattner authored
llvm-svn: 59868
-
Chris Lattner authored
clang executable (when built with gcc 4.2 on the mac) from 14519740 to 14495028 bytes. This shrinks individual object files as well: SemaChecking from 23580->22248, SemaDeclObjc from 61368->57376, SemaExpr from 115628->110516, as well as several others. llvm-svn: 59867
-
Chris Lattner authored
llvm-svn: 59866
-
Chris Lattner authored
would not eat the "-1" in "0x0p-1", but LiteralSupport would accept it when extensions are on. This caused strangeness and failures when hexfloats were properly treated as an extension (not error) in LiteralSupport. llvm-svn: 59865
-
Bill Wendling authored
"It simplifies the type legalization part a bit, and produces better code by teaching SelectionDAG about the extra bits in an i8 SADDO/UADDO node. In essence, I spontaneously decided that on x86 this i8 boolean result would be either 0 or 1, and on other platforms 0/1 or 0/-1, depending on whether the platform likes it's boolean zero extended or sign extended." llvm-svn: 59864
-
Chris Lattner authored
its call sites. This makes it more explicit when the hasError flag is getting set and removes a confusing difference in behavior between PP.Diag and Diag in this code. llvm-svn: 59863
-
Chris Lattner authored
(and carefully calculated) effect of allowing the compiler to reason about the aliasing properties of DiagnosticBuilder object better, allowing the whole thing to be promoted to registers instead of resulting in a ton of stack traffic. While I'm not very concerned about the performance of the Diag() method invocations, I *am* more concerned about their code size and impact on the non-diagnostic code. This patch shrinks the clang executable (in release-asserts mode with gcc-4.2) from 14523980 to 14519816 bytes. This isn't much, but it shrinks the lexer from 38192 to 37776, PPDirectives.o from 31116 to 28868 bytes, etc. llvm-svn: 59862
-
Anders Carlsson authored
llvm-svn: 59861
-
Chris Lattner authored
llvm-svn: 59860
-
Chris Lattner authored
llvm-svn: 59859
-
Chris Lattner authored
llvm-svn: 59858
-
Anders Carlsson authored
llvm-svn: 59857
-
Chris Lattner authored
force the caller to check instead. This eliminates the need (and the risk!) of weird null DiagnosticBuilder's floating around. llvm-svn: 59856
-
-
Chris Lattner authored
llvm-svn: 59851
-
Ted Kremenek authored
llvm-svn: 59850
-
Chris Lattner authored
one for building up the diagnostic that is in flight (DiagnosticBuilder) and one for pulling structured information out of the diagnostic when formatting and presenting it. There is no functionality change with this patch. llvm-svn: 59849
-
Ted Kremenek authored
llvm-svn: 59848
-
Bill Wendling authored
- Add "promote integer type" stuff to the legalizer for these nodes. llvm-svn: 59847
-
Ted Kremenek authored
In PTHLexer::DiscardToEndOfLine() use Lex() instead of AdvanceToken(). This handles transitions in the preprocessor state. llvm-svn: 59845
-
- Nov 21, 2008
-
-
Devang Patel authored
llvm-svn: 59844
-
Ted Kremenek authored
llvm-svn: 59843
-
Ted Kremenek authored
When creating the raw tokens for PTHLexer, make sure the token representing the file to include is checked for being an identifier. llvm-svn: 59842
-
Devang Patel authored
llvm-svn: 59841
-
Ted Kremenek authored
llvm-svn: 59840
-
Devang Patel authored
Document TEST=dbgopt llvm-svn: 59839
-
Fariborz Jahanian authored
llvm-svn: 59838
-
Dan Gohman authored
llvm-svn: 59837
-
Dan Gohman authored
llvm-svn: 59836
-
Sebastian Redl authored
This version uses VLAs to represent arrays. I'll try an alternative way next, but I want this safe first. llvm-svn: 59835
-
Dan Gohman authored
llvm-svn: 59834
-
Chris Lattner authored
llvm-svn: 59832
-
Chris Lattner authored
llvm-svn: 59831
-
Chris Lattner authored
llvm-svn: 59829
-
Fariborz Jahanian authored
themselves for gc API generation purposes. llvm-svn: 59828
-
Douglas Gregor authored
llvm-svn: 59827
-