- Mar 16, 2011
-
-
Douglas Gregor authored
overload, so that we actually do the resolution for full expressions and emit more consistent, useful diagnostics. Also fixes an IRGen crasher, where Sema wouldn't diagnose a resolvable bound member function template-id used in a full-expression (<rdar://problem/9108698>). llvm-svn: 127747
-
Sandeep Patel authored
llvm-svn: 127746
-
Peter Collingbourne authored
llvm-svn: 127744
-
Peter Collingbourne authored
llvm-svn: 127743
-
Chandler Carruth authored
clients to observe the exact path through which an #included file was located. This is very useful when trying to record and replay inclusion operations without it beind influenced by the aggressive caching done inside the FileManager to avoid redundant system calls and filesystem operations. The work to compute and return this is only done in the presence of callbacks, so it should have no effect on normal compilation. Patch by Manuel Klimek. llvm-svn: 127742
-
Richard Osborne authored
can event. llvm-svn: 127741
-
Douglas Gregor authored
operands to a binary expression; it doesn't make sense in all contexts. The right answer would be to see if the user forgot at (). Fixes <rdar://problem/9136502>. llvm-svn: 127740
-
Douglas Gregor authored
pointer-to-function type. Fixes <rdar://problem/9065289>. llvm-svn: 127739
-
Douglas Gregor authored
ActOnFinishFunctionBody/ActOnBlockStmtExpr. This way, we ensure that we diagnose undefined labels before the jump-scope checker gets run, since the jump-scope checker requires (as its invariant) that all of the GotoStmts be wired up correctly. Fixes PR9495. llvm-svn: 127738
-
Douglas Gregor authored
forward-looking "goto" statement, make sure to insert it *after* the last declaration in the identifier resolver's declaration chain that is either outside of the function/block/method's scope or that is declared in that function/block/method's specific scope. Previously, we could end up inserting the label ahead of declarations in inner scopes, confusing C++ name lookup. Fixes PR9491/<rdar://problem/9140426> and <rdar://problem/9135994>. Note that the crash-on-invalid PR9495 is *not* fixed. That's a separate issue. llvm-svn: 127737
-
David Chisnall authored
llvm-svn: 127736
-
Abramo Bagnara authored
llvm-svn: 127735
-
NAKAMURA Takumi authored
llvm-svn: 127734
-
NAKAMURA Takumi authored
llvm-svn: 127733
-
NAKAMURA Takumi authored
test/CodeGen/X86: FileCheck-ize and add explicit -mtriple=x86_64-linux. They are useless to Win64 target. llvm-svn: 127732
-
NAKAMURA Takumi authored
llvm-svn: 127731
-
NAKAMURA Takumi authored
llvm-svn: 127730
-
NAKAMURA Takumi authored
- Driver's name may be "clang(-\d.\d).exe". - Emitted executable file is named as "%t.exe". It must be harmless on other OS. llvm-svn: 127729
-
Cameron Zwarich authored
llvm-svn: 127728
-
Ted Kremenek authored
Teach CFGBuilder that the 'default' branch of a switch statement is dead if all enum values in a switch conditioned are handled. llvm-svn: 127727
-
NAKAMURA Takumi authored
report_fatal_error() invokes exit(). We know report_fatal_error() might not write messages to stderr when any errors were detected on FD == 2. llvm-svn: 127726
-
John McCall authored
in non-GC mode. llvm-svn: 127725
-
NAKAMURA Takumi authored
FIXME: It is a temporal hack. We should detect as many "special file name" as possible. llvm-svn: 127724
-
NAKAMURA Takumi authored
FIXME: We should use sys::fs::unique_file() in future. llvm-svn: 127723
-
Jim Grosbach authored
llvm-svn: 127721
-
Devang Patel authored
llvm-svn: 127720
-
Ted Kremenek authored
VariadicMethodTypeChecker: don't warn for null pointer constants passed to variadic Objective-C methods. llvm-svn: 127719
-
Cameron Zwarich authored
chose is having a non-memcpy/memset use and being larger than any native integer type. Originally I chose having an access of a size smaller than the total size of the alloca, but this caused some minor issues on the spirit benchmark where SRoA runs again after some inlining. This fixes <rdar://problem/8613163>. llvm-svn: 127718
-
Cameron Zwarich authored
llvm-svn: 127717
-
Cameron Zwarich authored
llvm-svn: 127716
-
Cameron Zwarich authored
llvm-svn: 127715
-
Cameron Zwarich authored
llvm-svn: 127714
-
Caroline Tice authored
Fix various small bugs found in the instruction emulation functions. llvm-svn: 127712
-
-
- Mar 15, 2011
-
-
Johnny Chen authored
1. The ARM Darwin *r9 call instructions were pseudo-ized recently. Modify the ARMDisassemblerCore.cpp file to accomodate the change. 2. The disassembler was unnecessarily adding 8 to the sign-extended imm24: imm32 = SignExtend(imm24:'00', 32); // A8.6.23 BL, BLX (immediate) // Encoding A1 It has no business doing such. Removed the offending logic. Add test cases to arm-tests.txt. llvm-svn: 127707
-
John Thompson authored
llvm-svn: 127705
-
Ted Kremenek authored
Remove warning for null characters in CFString literals. Clang handles them just fine, and GCC 4.2 doesn't warn here either. We added this warning back in 2007 when we were comparing against GCC 4.0. llvm-svn: 127704
-
Ted Kremenek authored
llvm-svn: 127703
-
John McCall authored
make sure that upcasts of member pointer types are covered as constants. Fixed rdar://problem/9130221 llvm-svn: 127702
-
Sebastian Redl authored
Find out that our C++0x status has only one field for noexcept expression and specification together, and that it was accidentally already marked as fully implemented. This completes noexcept specification work. llvm-svn: 127701
-