- Dec 12, 2009
-
-
Ted Kremenek authored
llvm-svn: 91194
-
Daniel Dunbar authored
llvm-svn: 91193
-
Daniel Dunbar authored
llvm-svn: 91192
-
Ted Kremenek authored
Make using '-fshort-enums' an error until it is actually implemented (changes the ABI, so it is dangerous to not error out if we don't support it). Fixes <rdar://problem/7461006>. llvm-svn: 91191
-
Anders Carlsson authored
llvm-svn: 91190
-
Anders Carlsson authored
llvm-svn: 91189
-
Anders Carlsson authored
llvm-svn: 91187
-
Douglas Gregor authored
llvm-svn: 91185
-
Bob Wilson authored
While scanning through the uses of an alloca, keep track of the current offset relative to the start of the alloca, and check memory references to see if the offset & size correspond to a component within the alloca. This has the nice benefit of unifying much of the code from isSafeUseOfAllocation, isSafeElementUse, and isSafeUseOfBitCastedAllocation. The code to rewrite the uses of a promoted alloca, after it is determined to be safe, is reorganized in the same way. Also, when rewriting GEP instructions, mark them as "in-bounds" since all the indices are known to be safe. llvm-svn: 91184
-
Daniel Dunbar authored
llvm-svn: 91183
-
Anders Carlsson authored
llvm-svn: 91182
-
Dan Gohman authored
a vector type. llvm-svn: 91181
-
Anders Carlsson authored
llvm-svn: 91180
-
Ted Kremenek authored
scan-build: when the build command is 'make', override the CC and CXX options by passing them as arguments to make. This fixes <rdar://problem/6790224>. llvm-svn: 91179
-
Daniel Dunbar authored
llvm-svn: 91178
-
Ted Kremenek authored
llvm-svn: 91177
-
Daniel Dunbar authored
llvm-svn: 91176
-
Anton Korobeynikov authored
Based on the patch by Brian Lucas! llvm-svn: 91175
-
Daniel Dunbar authored
llvm-svn: 91174
-
- Dec 11, 2009
-
-
Daniel Dunbar authored
Tests: Change substitution to automagically use 'clang -cc1' instead of 'clang-cc'. I still plan to eventually rewrite the tests to clarify the magic (I will probably actually rewrite them to %clang so it is more obvious this is a variable that gets substituted). llvm-svn: 91173
-
Ted Kremenek authored
llvm-svn: 91172
-
Fariborz Jahanian authored
(fixes radar 7465023). llvm-svn: 91171
-
Daniel Dunbar authored
- I apologize for the link time horrors, my goal is to kill off clang-cc in fairly short order. llvm-svn: 91170
-
John McCall authored
llvm-svn: 91163
-
Bill Wendling authored
branches only to a landing pad. Without this check, the compiler would go into an infinite loop because the branch to a landing pad is an "abnormal" edge which wasn't being taken into account. This is the meat of that fix: if (!PrevBB.canFallThrough() && !MBB->BranchesToLandingPad(MBB)) { The other stuff is simplification of the "branches to a landing pad" code. llvm-svn: 91161
-
Devang Patel authored
llvm-svn: 91159
-
Dan Gohman authored
llvm-svn: 91158
-
Fariborz Jahanian authored
valid standard conversion to match g++'s behaviour. llvm-svn: 91157
-
Eli Friedman authored
llvm-svn: 91156
-
Benjamin Kramer authored
llvm-svn: 91155
-
Benjamin Kramer authored
llvm-svn: 91154
-
John McCall authored
llvm-svn: 91153
-
Eli Friedman authored
llvm-svn: 91152
-
Jim Grosbach authored
memory barrier instructions by definition have side effects. This prevents the post-RA scheduler from moving them around. llvm-svn: 91150
-
Eli Friedman authored
llvm-svn: 91149
-
Dan Gohman authored
llvm-svn: 91148
-
Dan Gohman authored
avoid spurious failures. This fixes PR5758. llvm-svn: 91147
-
John McCall authored
in a file context. In well-formed code, only happens with friend functions. Fixes PR 5760. llvm-svn: 91146
-
Dan Gohman authored
aggregate return values. This fixes PR5754. llvm-svn: 91145
-
Anton Korobeynikov authored
This is used in some weird cases like general dynamic TLS model. This fixes PR5723 llvm-svn: 91144
-