- May 06, 2009
-
-
Lang Hames authored
llvm-svn: 71057
-
Daniel Dunbar authored
- Currently just an alias for --analyze, eventually we want to refit --analyze so that it is less automatic (i.e., does not force plist output and does not hard code the list of checks). llvm-svn: 71056
-
Mikhail Glushenkov authored
llvm-svn: 71055
-
Mikhail Glushenkov authored
See PR4159 for details. Patch by Martin Nowack! llvm-svn: 71054
-
Ted Kremenek authored
llvm-svn: 71046
-
Daniel Dunbar authored
llvm-svn: 71045
-
Fariborz Jahanian authored
llvm-svn: 71041
-
Ted Kremenek authored
start of 'do' and '@synchronized' statements. llvm-svn: 71038
-
Ted Kremenek authored
block. This makes it a little easier for diagnostics generation. llvm-svn: 71037
-
Dan Gohman authored
llvm-svn: 71035
-
Dan Gohman authored
llvm-svn: 71033
-
Evan Cheng authored
llvm-svn: 71032
-
Bill Wendling authored
llvm-svn: 71028
-
Ted Kremenek authored
about Exprs that are not consumed and fix where the loop iteration diagnostic goes. llvm-svn: 71027
-
Ted Kremenek authored
are ParenExpr or CastExprs. llvm-svn: 71026
-
rdar://6849429Chris Lattner authored
Fix rdar://6849429 - -Wunused-value with deeply nested macro expansion generates untraceable warnings The "instantiated from" messages coming from the caret diagnostics system are basically walking the macro expansion tree, emitting each level as it goes. However, it was skipping certain leaves in the tree by skipping up the entire instantiation arm every time it went up one spelling arm. This caused it to miss some things. For example, in this testcase: #define M1(x) x #define M2 1; void foo() { M1(M2) } we now print: /Users/sabre/Desktop/clang-unused-value-macro.c:6:2: warning: expression result unused M1(M2) ^~~~~~ /Users/sabre/Desktop/clang-unused-value-macro.c:6:5: note: instantiated from: M1(M2) ^~ /Users/sabre/Desktop/clang-unused-value-macro.c:3:12: note: instantiated from: #define M2 1; ^ Previously we didn't print the last line, so we never emitted the caret pointing to the 1! Incidentally, the spaces between the lines is really noisy, I think we should reconsider this heuristic (which adds them when the printed code starts too close to the start of the line). The regression test can't use -verify, because -verify doesn't catch notes for macro instantiation history. llvm-svn: 71025
-
- May 05, 2009
-
-
Chris Lattner authored
llvm-svn: 71024
-
Fariborz Jahanian authored
Patch by David Chisnall. llvm-svn: 71023
-
Dan Gohman authored
llvm-svn: 71022
-
Dan Gohman authored
allow it to have multiple CFG edges to that block. This is needed to allow MachineBasicBlock::isOnlyReachableByFallthrough to work correctly. This fixes PR4126. llvm-svn: 71018
-
Evan Cheng authored
llvm-svn: 71014
-
Bill Wendling authored
Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/ CodeGen/X86/dg.exp ... FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/ CodeGen/X86/change-compare-stride-1.ll Failed with exit(1) at line 2 while running: grep {cmpq $-478,} change-compare-stride-1.ll.tmp child process exited abnormally llvm-svn: 71013
-
Dan Gohman authored
llvm-svn: 71012
-
Evan Cheng authored
llvm-svn: 71010
-
David Greene authored
Handle overflow of 64-bit loop conditions. llvm-svn: 71008
-
Chris Lattner authored
llvm-svn: 70996
-
Daniel Dunbar authored
- I will remove the flag when I'm comfortable there is no fallout from this. llvm-svn: 70993
-
Chris Lattner authored
addrspace(257) -> FS relative on x86. Patch by Zoltan Varga! llvm-svn: 70992
-
Ted Kremenek authored
llvm-svn: 70990
-
Evan Cheng authored
llvm-svn: 70988
-
Fariborz Jahanian authored
in a 'Class' receiver which is not a root instance method. llvm-svn: 70987
-
Evan Cheng authored
Revert part of 70929 that has to do with determining whether a SIB byte is needed. It causes a lot of x86_64 JIT failures. llvm-svn: 70986
-
Chris Lattner authored
__sync_umin_and_fetch), add some missing atomic builtins (e.g. __sync_fetch_and_nand) and reorder the list to match the GCC documentation. The builtins still need work and codegen implementation, more patches coming. llvm-svn: 70985
-
Ted Kremenek authored
llvm-svn: 70984
-
David Greene authored
Allow multiclass def names to contain "#NAME"" where TableGen replaces #NAME# with the name of the defm instantiating the multiclass. This is useful for AVX instruction naming where a "V" prefix is standard throughout the ISA. For example: multiclass SSE_AVX_Inst<...> { def SS : Instr<...>; def SD : Instr<...>; def PS : Instr<...>; def PD : Instr<...>; def V#NAME#SS : Instr<...>; def V#NAME#SD : Instr<...>; def V#NAME#PS : Instr<...>; def V#NAME#PD : Instr<...>; } defm ADD : SSE_AVX_Inst<...>; Results in ADDSS ADDSD ADDPS ADDPD VADDSS VADDSD VADDPS VADDPD llvm-svn: 70979
-
Mikhail Glushenkov authored
See PR4157 for details. Patch by Martin Nowack! llvm-svn: 70973
-
Chris Lattner authored
to go back and clean up existing uses of the bitcasted function. This is not just an optimization: it is required for correctness to get always inline functions to work, see testcases in function-attributes.c. llvm-svn: 70971
-
Chris Lattner authored
types. In this case, it was objc_selector and objc_class. This fixes rdar://6852754 - clang sometimes generates incorrect/unknown file/line info for DW_TAG__structure_type dies llvm-svn: 70969
-
Chris Lattner authored
DIEs. We were generating a loc with line of 0 and a file. These tags do not need locations at all, just remove it. this fixes rdar://6852792 - Clang generates incorrect (and unnecessary) file and line info for DW_TAG_inheritance dies llvm-svn: 70966
-
Chris Lattner authored
in ObjC) to not emit file/line location information. Previously we would output a file with bogus line information. This fixes: rdar://6852814 - Clang generates incorrect file & line info for automatic/understood formal parameters for objc-programs llvm-svn: 70965
-