- Feb 23, 2011
-
-
Argyrios Kyrtzidis authored
NilArgChecker CFNumberCreateChecker ClassReleaseChecker llvm-svn: 126275
-
Argyrios Kyrtzidis authored
It would run PostObjCMessage checkers even for PreObjCMessage checking. llvm-svn: 126274
-
Argyrios Kyrtzidis authored
llvm-svn: 126273
-
Argyrios Kyrtzidis authored
-In general, don't have the BugReporter deleting BugTypes, BugTypes will eventually become owned by checkers and outlive the BugReporter. In the meantime, there will be some leaks since some checkers assume that the BugTypes they create will be destroyed by the BugReporter. -Have BugReporter::EmitBasicReport create BugTypes that are reused if the same name & category strings are passed to EmitBasicReport. These BugTypes are owned and destroyed by the BugReporter. This allows bugs reported through EmitBasicReport to be coalesced. -Remove the llvm::FoldingSet<BugReportEquivClass> from BugType and move it into the BugReporter. For uniquing BugReportEquivClass also use the BugType* so that we can iterate over all of them using only one set. llvm-svn: 126272
-
Argyrios Kyrtzidis authored
llvm-svn: 126270
-
Fariborz Jahanian authored
errornously defined inside an objc class. // rdar://7029784 llvm-svn: 126269
-
Richard Smith authored
llvm-svn: 126268
-
Matt Beaumont-Gay authored
mostly just shuffles various possibilities for recovery into a more straightforward order, but also unifies a couple of diagnostics. llvm-svn: 126266
-
Douglas Gregor authored
FunctionProtoTypeLoc with NULL function parameter types, which can occur in invalid code. Fixes PR9247 / <rdar://problem/9037911>. llvm-svn: 126262
-
Fariborz Jahanian authored
specifier in legacy code. Patch is reviewed offline by Doug. // rdar://9036633. llvm-svn: 126261
-
- Feb 22, 2011
-
-
John McCall authored
invocation function into the debug info. Rather than faking up a class, which is tricky because of the custom layout we do, we just emit a struct directly from the layout information we've already got. Also, don't emit an unnecessarily parameter alloca for this "variable". llvm-svn: 126255
-
John McCall authored
the stack. llvm-svn: 126254
-
John McCall authored
block and, eventually, C++ lambda) contexts. llvm-svn: 126252
-
Douglas Gregor authored
We need a longer long when testing this pathe Microsoft fixed-underlying-type extension for enumeration types llvm-svn: 126250
-
Devang Patel authored
llvm-svn: 126246
-
Chris Lattner authored
Patch by Csaba Raduly! llvm-svn: 126245
-
Douglas Gregor authored
enum X : long { Value = 0x100000000 }; when in Microsoft-extension mode (-fms-extensions). This (now C++0x) feature has been supported since Microsoft Visual Studio .NET 2003. llvm-svn: 126243
-
Matt Beaumont-Gay authored
llvm-svn: 126240
-
Devang Patel authored
llvm-svn: 126232
-
Douglas Gregor authored
array from a constant array compound literal. Fixes PR9261. llvm-svn: 126230
-
Argyrios Kyrtzidis authored
-Migrate ObjCSelfInitChecker to CheckerV2. In the process remove the 'preCallSelfFlags' field from the checker class and use GRState for storing that info. -Get ExprEngine to start delegating checker running to CheckerManager. llvm-svn: 126229
-
Argyrios Kyrtzidis authored
llvm-svn: 126228
-
Argyrios Kyrtzidis authored
llvm-svn: 126227
-
Joerg Sonnenberger authored
use -nostdinc++ and -cxx-isystem. llvm-svn: 126223
-
Peter Collingbourne authored
llvm-svn: 126221
-
Peter Collingbourne authored
llvm-svn: 126220
-
Oscar Fuentes authored
with cmake -P ... so we need to deduce the correct executable prefix. Fixes PR9286. llvm-svn: 126219
-
John McCall authored
emitting the collection expression. Fixes some really, really broken code. llvm-svn: 126193
-
John McCall authored
llvm-svn: 126189
-
Ted Kremenek authored
llvm-svn: 126188
-
Ted Kremenek authored
llvm-svn: 126187
-
NAKAMURA Takumi authored
mingw-w64's i128 tweak should be done with x86_64-mingw32. llvm-svn: 126186
-
Douglas Gregor authored
underlying type: we weren't parsing unnamed enumeration types with a fixed underlying type. llvm-svn: 126184
-
Douglas Gregor authored
enumeration types. Fixes <rdar://problem/8559831>. llvm-svn: 126183
-
Anders Carlsson authored
Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. Update all tests accordingly. llvm-svn: 126177
-
Anders Carlsson authored
llvm-svn: 126175
-
Richard Smith authored
In Objective-C, there are no trailing return types, so don't produce diagnostics suggesting they are missing. llvm-svn: 126174
-
Joerg Sonnenberger authored
It works like -isystem and the search path keeps -isystem and -cxx-isystem in order relative to each other. -cxx-isystem is only used for C++ sources though. Drop the existing -cxx-system-include option for cc1 as it is now redundant. llvm-svn: 126167
-
Richard Smith authored
* 'auto' was being rejected on abstract-declarators with trailing return types and on typedefs with trailing return types. 'auto' is always allowed in these cases. This was found while testing the fix for PR 9278. * A very poor diagnostic was being issued for auto (f() -> int): "return type must be 'auto', not 'auto'". This is closely related to PR 9060. * Trailing return type handling was happening slightly too late, resulting in the checks for functions returning arrays and functions returning functions being missed. llvm-svn: 126166
-
Richard Smith authored
llvm-svn: 126164
-