- Mar 22, 2012
-
-
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
-
Fariborz Jahanian authored
llvm-svn: 153193
-
Fariborz Jahanian authored
pointer field declarations in several meta-data. // rdar://11079898 llvm-svn: 153192
-
John McCall authored
in vtable layout where virtual methods inherited from virtual bases could be assigned the same vcall adjustment slot if they shared a name and parameter signature but differed in their cv-qualification. The code was already trying to handle this case, but unfortunately used the ordinary type qualifiers (which are always empty here) instead of the method qualifiers. This seems like something that the API should discourage, but I don't know how to carry that principle out in this instance. Eliminate this function's need for an ASTContext while we're at it. This bug affects the ABI, and fixing it brings us into accord with the Itanium ABI (and GCC's implementation of it), but, obviously, technically breaks full compatibility with previous releases of Clang. Just letting you know. llvm-svn: 153168
-
NAKAMURA Takumi authored
RewriteModernObjC.cpp: Don't expose temporary std::string with StringRef. (StringRef)getName() can be used here. llvm-svn: 153156
-
Fariborz Jahanian authored
// rdar://11076938 llvm-svn: 153151
-
Eric Christopher authored
llvm-svn: 153149
-
- Mar 20, 2012
-
-
Fariborz Jahanian authored
// rdar://11079898 llvm-svn: 153145
-
Fariborz Jahanian authored
the class pointer in the category structure. // rdar://11076938 llvm-svn: 153138
-
Sebastian Redl authored
llvm-svn: 153130
-
Sebastian Redl authored
llvm-svn: 153129
-
Fariborz Jahanian authored
llvm-svn: 153127
-
Benjamin Kramer authored
Fixes PR12284. The test case only triggered under asan/valgrind, but it's better than nothing. llvm-svn: 153120
-
Fariborz Jahanian authored
via functions for certain pointer initialization fields. // rdar://11076938 llvm-svn: 153117
-
Benjamin Kramer authored
TrackingVH notices when it gets RAUW'd. Fixes PR12305 and PR12315. llvm-svn: 153115
-
Fariborz Jahanian authored
changes to how meta-data is declared. // rdar://11076938 llvm-svn: 153098
-
Fariborz Jahanian authored
one place and use it throughout. Also, change ivar name to avoid name collisions. // rdar://11079366 llvm-svn: 153093
-
Chad Rosier authored
From the Intel Optimization Reference Manual, Section 11.6.2. When data cannot be aligned or alignment is not known, 16-byte memory accesses may provide better performance. rdar://11076953 llvm-svn: 153091
-