- Feb 28, 2011
-
-
Argyrios Kyrtzidis authored
They cooperate in that NSErrorChecker listens for ImplicitNullDerefEvent events that DereferenceChecker can dispatch. ImplicitNullDerefEvent is when we dereferenced a location that may be null. llvm-svn: 126659
-
Argyrios Kyrtzidis authored
A checker can register as receiver/listener of "events" (basically it registers a callback with a function getting called with an argument of the event type) and other checkers can register as "dispatchers" and can pass an event object to all the listeners. This allows cooperation amongst checkers but with very loose coupling. llvm-svn: 126658
-
Argyrios Kyrtzidis authored
llvm-svn: 126657
-
Douglas Gregor authored
dependent template names. There is still a lot of redundant code in TreeTransform to cope with TemplateSpecializationTypes, which I'll remove in stages. llvm-svn: 126656
-
David Chisnall authored
Make -fobjc-nonfragile-abi and -fgnu-runtime imply -fblocks (unless -fno-blocks is specified), because this combination of flags defines an Objective-C runtime that includes a blocks runtime. llvm-svn: 126654
-
Douglas Gregor authored
llvm-svn: 126653
-
Axel Naumann authored
* Add default implementations (no-op) for ExternalASTSource's pure virtual functions. There are valid use cases that can live with these defaults. * Move ExternalASTSource's out of line implementations into separate source file. * Whitespace, forward decl, #include cleanup. llvm-svn: 126648
-
Chandler Carruth authored
of -fexceptions to disably C++ exceptions. The correct code was in the ObjC branch, this just mirrors that logic on the C++ side of things. Thanks to John Wiegley for pointing this out. llvm-svn: 126640
-
Chris Lattner authored
compound stmt containing the decl is skipped. llvm-svn: 126639
-
Chris Lattner authored
llvm-svn: 126638
-
Peter Collingbourne authored
The previous name was inaccurate as this token in fact appears at the end of every preprocessing directive, not just macro definitions. No functionality change, except for a diagnostic tweak. llvm-svn: 126631
-
Anders Carlsson authored
C++ exceptions, even when exceptions have been turned off using -fno-exceptions. Make the -fobjc-exceptions flag do the same thing, but for Objective-C exceptions. C++ and Objective-C exceptions can also be disabled using -fno-cxx-excptions and -fno-objc-exceptions. llvm-svn: 126630
-
Anders Carlsson authored
llvm-svn: 126629
-
Ken Dyck authored
they are known to be exact multiples of the width of the char type. Add a test case to CodeGen/union.c that would have caught the problem with the previous attempt. No change in functionality intended. llvm-svn: 126628
-
Argyrios Kyrtzidis authored
llvm-svn: 126627
-
Argyrios Kyrtzidis authored
llvm-svn: 126626
-
Argyrios Kyrtzidis authored
llvm-svn: 126625
-
Argyrios Kyrtzidis authored
llvm-svn: 126624
-
Argyrios Kyrtzidis authored
llvm-svn: 126623
-
Argyrios Kyrtzidis authored
llvm-svn: 126622
-
Argyrios Kyrtzidis authored
llvm-svn: 126621
-
Argyrios Kyrtzidis authored
llvm-svn: 126620
-
Argyrios Kyrtzidis authored
llvm-svn: 126619
-
Argyrios Kyrtzidis authored
llvm-svn: 126618
-
Argyrios Kyrtzidis authored
llvm-svn: 126617
-
Argyrios Kyrtzidis authored
llvm-svn: 126616
-
Argyrios Kyrtzidis authored
llvm-svn: 126615
-
Argyrios Kyrtzidis authored
llvm-svn: 126614
-
Argyrios Kyrtzidis authored
llvm-svn: 126613
-
Argyrios Kyrtzidis authored
-Now it gets enabled with '-analyzer-checker=DeadStores'. -The driver passes the above flag by default. llvm-svn: 126612
-
Argyrios Kyrtzidis authored
llvm-svn: 126611
-
Argyrios Kyrtzidis authored
llvm-svn: 126610
-
Argyrios Kyrtzidis authored
Turns -analyzer-check-buffer-overflows into -analyzer-checker=core.experimental.Overflow llvm-svn: 126609
-
Argyrios Kyrtzidis authored
llvm-svn: 126608
-
Argyrios Kyrtzidis authored
llvm-svn: 126607
-
Argyrios Kyrtzidis authored
llvm-svn: 126606
-
Chris Lattner authored
llvm-svn: 126603
-
Chris Lattner authored
compound statements and break statements. This implements enough to handle PR9322 and rdar://6970405. llvm-svn: 126602
-
Anders Carlsson authored
llvm-svn: 126601
-
Chris Lattner authored
llvm-svn: 126600
-