- Mar 24, 2012
-
-
Jordy Rose authored
[analyzer] Add a clone() method to BugReporterVisitor, so that we'll be able to reset diagnostic generation. llvm-svn: 153368
-
Argyrios Kyrtzidis authored
recover by returning the statements that we parsed so far, instead of dropping the whole function body. rdar://10967343 llvm-svn: 153367
-
Rafael Espindola authored
c++ enums. llvm-svn: 153360
-
Richard Smith authored
some calling code to actually pass in a non-null type, to avoid a crash. llvm-svn: 153358
-
Kostya Serebryany authored
llvm-svn: 153356
-
Argyrios Kyrtzidis authored
just because there was an attribute in front of it. llvm-svn: 153355
-
Richard Smith authored
a previous declaration if the redeclaration is invalid. That way lies madness. Fixes a crash-on-invalid reported by Abramo. llvm-svn: 153349
-
Akira Hatanaka authored
Patch by Simon Atanasyan. llvm-svn: 153348
-
- Mar 23, 2012
-
-
Ted Kremenek authored
Avoid applying retain/release effects twice in RetainCountChecker when a function call was inlined (i.e., we do not need to apply summaries in such cases). llvm-svn: 153309
-
Richard Smith authored
class template's definition, and for explicit specializations of such enum members. llvm-svn: 153304
-
Anton Yartsev authored
llvm-svn: 153302
-
Argyrios Kyrtzidis authored
during construction of branches for chained logical operators. This makes -fsyntax-only for test/Sema/many-logical-ops.c about 32x times faster. With measuring SemaExpr.cpp I see differences below the noise level. llvm-svn: 153297
-
Fariborz Jahanian authored
declared at file scope. // rdar://11006566 llvm-svn: 153293
-
Bill Wendling authored
cast the value to x86_mmx. This gives the ASM string the correct call signature. <rdar://problem/10919182> llvm-svn: 153290
-
- Mar 22, 2012
-
-
Eli Friedman authored
Make sure we correctly set the alignment for vector loads and stores associated with vector element lvalues. Patch by Kevin Schoedel (with some minor modifications by me). llvm-svn: 153285
-
Ted Kremenek authored
llvm-svn: 153283
-
Anna Zaks authored
llvm-svn: 153281
-
Anna Zaks authored
llvm-svn: 153280
-
Anna Zaks authored
(Stats Checker). llvm-svn: 153279
-
Fariborz Jahanian authored
at global scope properly, issue diagnostics. llvm-svn: 153271
-
-
Fariborz Jahanian authored
property attributes. // rdar://11095151 llvm-svn: 153261
-
Argyrios Kyrtzidis authored
make sure to fully load its external lexical and visible declarations before re-writing it. rdar://10914192 llvm-svn: 153254
-
Ted Kremenek authored
"Teach" RetainCountChecker about dispatch_set_context, which can indirectly free its argument later. Fixes <rdar://problem/11059275>. llvm-svn: 153244
-
Ted Kremenek authored
Fix broken CFG when an initializer is a statement expression that starts with a while loop (PR 12325). llvm-svn: 153242
-
Richard Smith authored
specialization is known to be incomplete. If we're asked to try to complete it, don't attempt to instantiate it again -- that can lead to stack overflow, and to rejects-valids if the class being incomplete is not an error. llvm-svn: 153236
-
Argyrios Kyrtzidis authored
evaluate RHS if LHS could not be evaluated and keepEvaluatingAfterFailure() is false. llvm-svn: 153235
-
Anna Zaks authored
llvm-svn: 153232
-
Fariborz Jahanian authored
all objc_msgSend unctions to void parameters and void return. // rdar://11094890 llvm-svn: 153227
-
Richard Trieu authored
non-constant value encountered. This allows the evaluator to deduce that expressions like (x < 5 || true) is equal to true. Previously, it would visit x and determined that the entire expression is could not evaluated to a constant. This fixes PR12318. llvm-svn: 153226
-
- Mar 21, 2012
-
-
Benjamin Kramer authored
llvm-svn: 153220
-
Fariborz Jahanian authored
the diagnostic instead of displaying ''. // rdar://11082110 llvm-svn: 153219
-
-
Chad Rosier authored
rdar://11054144 llvm-svn: 153216
-
Anna Zaks authored
Specifically, we use the last store of the leaked symbol in the leak diagnostic. (No support for struct fields since the malloc checker doesn't track those yet.) + Infrastructure to track the regions used in store evaluations. This approach is more precise than iterating the store to obtain the region bound to the symbol, which is used in RetainCount checker. The region corresponds to what is uttered in the code in the last store and we do not rely on the store implementation to support this functionality. llvm-svn: 153212
-
Anna Zaks authored
So that others could use it as well. No functionality change. llvm-svn: 153211
-
Bob Wilson authored
The getARMTargetCPU and getLLVMArchSuffixForARM functions exist in both Toolchain.cpp and Tools.cpp. This stuff needs a thorough overhaul. In the meantime, this patch at least makes them consistent. One version had been converted to use StringSwitch, and the other version had new Cortex M-series processors added. llvm-svn: 153202
-
Fariborz Jahanian authored
c-mode to match behavior with void functions in c. Issue warning with -pedantic. // rdar://11069896 llvm-svn: 153200
-
rdar://11059238Bob Wilson authored
On Darwin the architecture and the corresponding Mach-O slice is typically specified with -arch. If not, it defaults to the current host architecture. Do not use -mcpu to override the -arch value. This is only an issue when people need to use specialized code for a non-default CPU (hopefully guarded by run-time checks to detect the current processor). The -mcpu option is still used for the -target-cpu option to clang, but this patch causes it to not be used to set the architecture in the target triple. llvm-svn: 153197
-
Fariborz Jahanian authored
pointer field declarations in several meta-data. // rdar://11079898 llvm-svn: 153196
-