- May 06, 2009
-
-
Zhongxing Xu authored
future we would create ElementRegion directly on top of typeless regions. llvm-svn: 71075
-
Zhongxing Xu authored
llvm-svn: 71074
-
Chris Lattner authored
llvm-svn: 71070
-
Daniel Dunbar authored
- Default to yonah on Darwin (to get SSE3). - Default to Pentium4 (32-bit) and x86-64 (64-bit) on non-Darwin. Welcome to the 21st century. llvm-svn: 71069
-
Anders Carlsson authored
llvm-svn: 71067
-
Douglas Gregor authored
llvm-svn: 71066
-
Chris Lattner authored
llvm-svn: 71065
-
rdar://6860124Chris Lattner authored
This recognizes all the target-independent constant constraints that have target-specific meanings. llvm-svn: 71064
-
Daniel Dunbar authored
llvm-svn: 71063
-
Daniel Dunbar authored
llvm-svn: 71062
-
Daniel Dunbar authored
- This is a WIP... - This adds -march= handling to the driver, and fixes the defaulting of -mcpu on Darwin (which was using the wrong test). Instead of handling -m{sse, ...} in the driver, pass them to clang-cc as -target-feature [+-]name In clang-cc, communicate with the (clang) target to discover the legal features of a target, and the features which are enabled based on -mcpu. This is currently hardcoded just enough to not be a feature regression, we need to get this information from the backend's TableGen information somehow. This is used to construct the full list of features which are being used, which is in turn used to initialize the predefines. llvm-svn: 71061
-
Zhongxing Xu authored
llvm-svn: 71060
-
Chris Lattner authored
llvm-svn: 71059
-
Zhongxing Xu authored
RegionStore. This CastRegion() performs casts according to the kind of the region being cast instead of the type that is cast to. llvm-svn: 71058
-
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
-
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
-
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
-
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
-
Ted Kremenek authored
llvm-svn: 70990
-
Fariborz Jahanian authored
in a 'Class' receiver which is not a root instance method. llvm-svn: 70987
-
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
-
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
-
Douglas Gregor authored
composite pointer type, and his is better! Updated relational- and equality-operator checking accordingly. llvm-svn: 70963
-
Anders Carlsson authored
Refactor global decls to hold either a regular Decl or a CXXConstructorDecl + ctor type or a CXXDestructorDecl + dtor type. llvm-svn: 70962
-
Ted Kremenek authored
llvm-svn: 70961
-
Ted Kremenek authored
llvm-svn: 70952
-
Daniel Dunbar authored
llvm-svn: 70951
-