- Aug 19, 2010
-
-
Douglas Gregor authored
llvm-svn: 111504
-
John McCall authored
llvm-svn: 111498
-
John McCall authored
llvm-svn: 111497
-
Charles Davis authored
All it does right now is add space for two vtable pointers instead of one when a class has both virtual methods and virtual bases. This is a requirement of the Microsoft ABI, since it has separate vtables for methods and bases. Other stuff will come up over time, but we'll cross those bridges when we get to them. llvm-svn: 111493
-
Ted Kremenek authored
Add warning for functions/blocks that have attribute 'noreturn' but return a non-void result. (<rdar://problem/7562925>) llvm-svn: 111492
-
Ted Kremenek authored
HandleCommonNoReturnAttr() now only has a single caller. Move that logic to HandleAnalyzerNoReturnAttr. llvm-svn: 111491
-
Douglas Gregor authored
llvm-svn: 111490
-
Douglas Gregor authored
when destroying an ASTReader. Plugs a leak that shows up in libclang. llvm-svn: 111488
-
John McCall authored
the context allows us to ignore qualifiers on the array type itself. llvm-svn: 111486
-
Sebastian Redl authored
llvm-svn: 111478
-
Sebastian Redl authored
llvm-svn: 111475
-
Sebastian Redl authored
llvm-svn: 111474
-
Sebastian Redl authored
llvm-svn: 111473
-
Sebastian Redl authored
llvm-svn: 111472
-
Sebastian Redl authored
llvm-svn: 111471
-
Sebastian Redl authored
llvm-svn: 111470
-
Sebastian Redl authored
llvm-svn: 111469
-
Sebastian Redl authored
llvm-svn: 111467
-
Sebastian Redl authored
llvm-svn: 111466
-
Sebastian Redl authored
llvm-svn: 111465
-
Sebastian Redl authored
llvm-svn: 111464
-
Sebastian Redl authored
llvm-svn: 111463
-
Douglas Gregor authored
false (not true), so that the CompilerInstance will actually free data structures when it's done. This fixes a major leak with libclang's in-process code completion. llvm-svn: 111457
-
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
-