- Aug 16, 2008
-
-
Daniel Dunbar authored
llvm-svn: 54826
-
Daniel Dunbar authored
- This is in prep for implementation class support for the NeXT runtime, for which the existing methods don't provide enough information (and additionally make too many assumptions about how things should be emitted). llvm-svn: 54824
-
- Aug 15, 2008
-
-
Daniel Dunbar authored
- Thanks Thomas llvm-svn: 54818
-
Ted Kremenek authored
llvm-svn: 54808
-
Ted Kremenek authored
llvm-svn: 54798
-
Daniel Dunbar authored
- Added as private members for each because it is not clear where to put the common definition. Perhaps the IdentifierInfos all of these "pseudo-keywords" should be collected into one place (this would KnownFunctionIDs and Objective-C property IDs, for example). Remove Token::isNamedIdentifier. - There isn't a good reason to use strcmp when we have interned strings, and there isn't a good reason to encourage clients to do so. llvm-svn: 54794
-
- Aug 14, 2008
-
-
Ted Kremenek authored
of using CheckerState). Removed CheckerState from GRState. Added class GRStateRef which wraps GRState* and GRStateManager*. This is handy for generating new states with a single handle. Added member template set/get functions to GRStateRef/GRState/GRStateManager for accessing the Generic Data Map. llvm-svn: 54788
-
Steve Naroff authored
Fix ASTContext::getObjCEncodingForType() to limit the type info for structure bodies (mimics gcc's adhoc rules). This fixes <rdar://problem/6140902> clang ObjC rewriter: If a class contains a struct ivar with a lot of members, ... llvm-svn: 54777
-
Chris Lattner authored
and put the caret on the ()'s. e.g. produces: t.c:13:9: error: called object is not a function or function pointer ((B)a)(); ~~~~~~^ instead of: t.c:13:3: error: called object is not a function or function pointer ((B)a)(); ^~~~~~~~ llvm-svn: 54775
-
Ted Kremenek authored
llvm-svn: 54774
-
Daniel Dunbar authored
getIntegerConstantExprValue where appropriate. llvm-svn: 54771
-
Nuno Lopes authored
llvm-svn: 54769
-
Daniel Dunbar authored
- Returns addr of constant for argument + '\0'. - I couldn't think of a better name. - Move appropriate users of GetAddrOfConstantString to this. Rename getStringForStringLiteral to GetStringForStringLiteral. Add GetAddrOfConstantStringFromLiteral - This combines GetAddrOfConstantString and GetStringForStringLiteral. This method can be, but is not yet, more efficient. Change GetAddrOfConstantString to not add terminating '\0' - <rdar://problem/6140956> llvm-svn: 54768
-
- Aug 13, 2008
-
-
Ted Kremenek authored
Updated checker state printer interface to allow transfer functions to return an arbitrary number of GRState::Printers. llvm-svn: 54762
-
Ted Kremenek authored
llvm-svn: 54759
-
Ted Kremenek authored
llvm-svn: 54755
-
Steve Naroff authored
The following case resulted in an invalid start location: // start location not being set for ObjCProtocolDecl AST (when a forward reference is in scope). @protocol Buggy; @protocol Buggy @optional - whatever; @end llvm-svn: 54740
-
Ted Kremenek authored
llvm-svn: 54723
-
Ted Kremenek authored
Rename ValueState.cpp -> GRState.cpp llvm-svn: 54722
-
Ted Kremenek authored
Rename ValueStateManager -> GRStateManager. llvm-svn: 54721
-
Ted Kremenek authored
llvm-svn: 54720
-
Ted Kremenek authored
llvm-svn: 54717
-
Ted Kremenek authored
llvm-svn: 54716
-
Daniel Dunbar authored
- Near complete, only properties are missing. llvm-svn: 54715
-
Ted Kremenek authored
llvm-svn: 54714
-
Daniel Dunbar authored
ObjCProtocolDecl directly. Implement CodeGen support for forward protocol decls (no-ops are so nice to implement). Also moved CGObjCRuntime.h out of CodeGenModule.h llvm-svn: 54709
-
- Aug 12, 2008
-
-
Ted Kremenek authored
llvm-svn: 54704
-
Ted Kremenek authored
llvm-svn: 54701
-
Ted Kremenek authored
llvm-svn: 54699
-
Ted Kremenek authored
llvm-svn: 54696
-
Ted Kremenek authored
Add variadic addInstMethSummary() and refactored addPanicSummary() to use this method. (code reduction). Misc. cleanups. llvm-svn: 54694
-
Ted Kremenek authored
llvm-svn: 54693
-
Daniel Dunbar authored
- Matches llvm-gcc and seem to be expected by otool. llvm-svn: 54669
-
Daniel Dunbar authored
- Was unused and generated a unnecessary load of self (missed file) llvm-svn: 54668
-
Daniel Dunbar authored
- Was unused and generated a unnecessary load of self Update NeXT runtime to get proper object & selector types from ASTContext. llvm-svn: 54667
-
Daniel Dunbar authored
- Implement type conversion of ObjCQualifiedIdType - Wire @protocol(...) to GenerateProtocolRef in ScalarExprEmitter llvm-svn: 54666
-
Daniel Dunbar authored
llvm-svn: 54665
-
Daniel Dunbar authored
llvm-svn: 54664
-
Mike Stump authored
llvm-svn: 54663
-
Daniel Dunbar authored
InitializePredefinedMacros(). - Also now properly wired to -fobjc-gc, -fnext-runtime. llvm-svn: 54661
-