- Aug 19, 2010
-
-
Alexis Hunt authored
Now all classes derived from Attr are generated from TableGen. Additionally, Attr* is no longer its own linked list; SmallVectors or Attr* are used. The accompanying LLVM commit contains the updates to TableGen necessary for this. Some other notes about newly-generated attribute classes: - The constructor arguments are a SourceLocation and a Context&, followed by the attributes arguments in the order that they were defined in Attr.td - Every argument in Attr.td has an appropriate accessor named getFoo, and there are sometimes a few extra ones (such as to get the length of a variadic argument). Additionally, specific_attr_iterator has been introduced, which will iterate over an AttrVec, but only over attributes of a certain type. It can be accessed through either Decl::specific_attr_begin/end or the global functions of the same name. llvm-svn: 111455
-
Daniel Dunbar authored
CrashRecovery since it avoids sending a signal which may be intercepted by the debugger. llvm-svn: 111449
-
Douglas Gregor authored
llvm-svn: 111447
-
Douglas Gregor authored
convoluted and a bit leaky. Now, the Diagnostic object owns its DiagnosticClient. llvm-svn: 111437
-
- Aug 18, 2010
-
-
Douglas Gregor authored
type ignoring cv-qualifiers). These are qualification conversions. Fixes PR7934. llvm-svn: 111428
-
Tom Care authored
Added psuedo-constant analysis and integrated it into the false positive reduction stage in IdempotentOperationChecker. - Renamed IdempotentOperationChecker::isConstant to isConstantOrPseudoConstant to better reflect the function - Changed IdempotentOperationChecker::PreVisitBinaryOperator to only run 'CanVary' once on undefined assumptions - Created new PsuedoConstantAnalysis class and added it to AnalysisContext - Changed IdempotentOperationChecker to exploit the new analysis - Updated tests with psuedo-constants - Added check to IdempotentOperationChecker to see if a Decl is const qualified llvm-svn: 111426
-
John McCall authored
mangleCallExpression. Also, operator names with unknown arity should be mangled as binary operators; this is actually covered by an oddly- positioned sentence in the ABI document. Fixes PR7891. llvm-svn: 111395
-
Chris Lattner authored
llvm-svn: 111365
-
Chris Lattner authored
llvm-svn: 111364
-
Douglas Gregor authored
when -fassume-sane-operator-new. Patch by Tom Jablin! llvm-svn: 111363
-
Douglas Gregor authored
location. Patch by Eelis van der Weegen! llvm-svn: 111362
-
John McCall authored
which in a fit of zeal wanted to walk the entire translation unit, and replace it with a new checker that walks the types of declarations nested within the class. Also, look into templates when doing this. llvm-svn: 111357
-
Chandler Carruth authored
only warnings did this check. llvm-svn: 111355
-
Jordy Rose authored
llvm-svn: 111353
-
Jordy Rose authored
llvm-svn: 111351
-
Chris Lattner authored
llvm-svn: 111347
-
Chris Lattner authored
llvm-svn: 111346
-
Douglas Gregor authored
than GCC 4.2 here when building 32-bit (where GCC will allow allocation of an array for which we can't get a valid past-the-end pointer), and emulate its odd behavior in 64-bit where it only allows 63 bits worth of storage in the array. The former is a correctness issue; the latter is harmless in practice (you wouldn't be able to use such an array anyway) and helps us pass a GCC DejaGNU test. Fixes <rdar://problem/8212293>. llvm-svn: 111338
-
Chris Lattner authored
llvm-svn: 111334
-
Chris Lattner authored
reason that this should be limited to simple lvalues. llvm-svn: 111331
-
Chris Lattner authored
llvm-svn: 111330
-
Fariborz Jahanian authored
per Doug's comment. llvm-svn: 111328
-
Ted Kremenek authored
llvm-svn: 111327
-
Fariborz Jahanian authored
llvm-svn: 111324
-
Sebastian Redl authored
llvm-svn: 111316
-
Daniel Dunbar authored
llvm-svn: 111314
-
Daniel Dunbar authored
those crash paths. llvm-svn: 111311
-
Daniel Dunbar authored
reported as unused. llvm-svn: 111310
-
Argyrios Kyrtzidis authored
llvm-svn: 111305
-
Ted Kremenek authored
llvm-svn: 111304
-
- Aug 17, 2010
-
-
John McCall authored
dependent call expression. llvm-svn: 111300
-
Argyrios Kyrtzidis authored
This option is not part of the Unused diagnostic group until the warnings on llvm codebase are fixed and we are ready to turn it on. Suggestion by Daniel. llvm-svn: 111298
-
Fariborz Jahanian authored
of non-object types. Radar 8308053. llvm-svn: 111296
-
John McCall authored
fail to instantiate them. llvm-svn: 111293
-
Sebastian Redl authored
llvm-svn: 111284
-
Ted Kremenek authored
Fix horrible CFG bug caused by a series of NullStmts appearing at the beginning of a do...while loop. This would cause the body of the DoStmt to be disconnected from the preceding code. llvm-svn: 111283
-
Ted Kremenek authored
CFGBuilder: don't create the empty "loop back" block for DoStmts if the loop edge can never be taken. llvm-svn: 111282
-
Sebastian Redl authored
llvm-svn: 111279
-
Fariborz Jahanian authored
Radar 8308053. llvm-svn: 111275
-
Douglas Gregor authored
llvm-svn: 111265
-