- Nov 19, 2008
-
-
rdar://problem/6150376Steve Naroff authored
The core fix in Sema::ActOnClassMessage(). All the other changes have to do with passing down the SourceLocation for the receiver (to properly position the cursor when producing an error diagnostic). llvm-svn: 59639
-
Douglas Gregor authored
post-decrement, including support for generating all of the built-in operator candidates for these operators. C++ and C have different rules for the arguments to the builtin unary '+' and '-'. Implemented both variants in Sema::ActOnUnaryOp. In C++, pre-increment and pre-decrement return lvalues. Update Expr::isLvalue accordingly. llvm-svn: 59638
-
Scott Michel authored
llvm-svn: 59637
-
Argyrios Kyrtzidis authored
With this snippet: void f(a::b); An assert is hit: Assertion failed: CachedTokens[CachedLexPos-1].getLocation() == Tok.getAnnotationEndLoc() && "The annotation should be until the most recent cached token", file ..\..\lib\Lex\PPCaching.cpp, line 98 Introduce Preprocessor::RevertCachedTokens that reverts a specific number of tokens when backtracking is enabled. llvm-svn: 59636
-
Argyrios Kyrtzidis authored
Remove Preprocessor::CacheTokens boolean data member. The same functionality can be provided by using Preprocessor::isBacktrackEnabled(). llvm-svn: 59631
-
Argyrios Kyrtzidis authored
llvm-svn: 59629
-
Sanjiv Gupta authored
llvm-svn: 59623
-
Daniel Dunbar authored
llvm-svn: 59622
-
Sanjiv Gupta authored
llvm-svn: 59621
-
Zhongxing Xu authored
llvm-svn: 59620
-
Zhongxing Xu authored
llvm-svn: 59619
-
Zhongxing Xu authored
llvm-svn: 59618
-
Sanjiv Gupta authored
ExpandIntegerOperand (LegalizeIntegerTypes.cpp) is needed which is yet to be reworked and submitted. llvm-svn: 59617
-
Daniel Dunbar authored
PragmaPackStack. Thanks Chris! llvm-svn: 59616
-
Daniel Dunbar authored
value). - Use extra argument to EmitStoreThroughLValue to provide place to write update bit-field value if caller requires it. - This fixes several FIXMEs. llvm-svn: 59615
-
Bill Wendling authored
llvm-svn: 59614
-
Sanjiv Gupta authored
llvm-svn: 59613
-
Sanjiv Gupta authored
llvm-svn: 59612
-
Chris Lattner authored
llvm-svn: 59611
-
Chris Lattner authored
llvm-svn: 59610
-
Chris Lattner authored
llvm-svn: 59609
-
Chris Lattner authored
llvm-svn: 59608
-
Chris Lattner authored
llvm-svn: 59607
-
Chris Lattner authored
llvm-svn: 59606
-
Chris Lattner authored
won't match it: template<std::size_t StrLen> bool isName(const char Str[StrLen]) const { return getLength() == StrLen-1 && !memcmp(getName(), Str, StrLen-1); } llvm-svn: 59605
-
Chris Lattner authored
the code and speeds it up. llvm-svn: 59604
-
Chris Lattner authored
llvm-svn: 59603
-
Chris Lattner authored
llvm-svn: 59602
-
Chris Lattner authored
first. This should allow removal of a bunch of II->getName() calls. llvm-svn: 59601
-
Chris Lattner authored
llvm-svn: 59600
-
Chris Lattner authored
llvm-svn: 59599
-
Chris Lattner authored
llvm-svn: 59598
-
Chris Lattner authored
llvm-svn: 59597
-
Chris Lattner authored
This also makes it illegal to have bare '%'s in diagnostics. If you want a % in a diagnostic, use %%. llvm-svn: 59596
-
Chris Lattner authored
llvm-svn: 59595
-
Daniel Dunbar authored
llvm-svn: 59594
-
Chris Lattner authored
const char*'s are now not converted to std::strings when the diagnostic is formed, we just hold onto their pointer and format as needed. This commit makes DiagnosticClient::FormatDiagnostic even more of a mess, I'll fix it in the next commit. llvm-svn: 59593
-
Bill Wendling authored
- Rewrite the sentence to make it look as if English is my first language. llvm-svn: 59592
-
Ted Kremenek authored
llvm-svn: 59591
-
Chris Lattner authored
Instead of doing that, copy the strings into the diagnostic info. llvm-svn: 59590
-