- Dec 15, 2007
-
-
Chris Lattner authored
llvm-svn: 45060
-
Steve Naroff authored
- Remove getInstanceMethods/getClassMethods API on ObjcInterfaceDecl, ObjcProtocolDecl, and ObjcCategoryDecl. These methods are replaced by the respective iterators on each class. - Add getInstanceMethodForSelector to ObjcInterfaceDecl, ObjcProtocolDecl, and ObjcCatgoryDecl. This hook will do a "shallow" lookup. This is a convenience method that reducing some of the iterator usage. - Various changes to convert all clients to the above API's... llvm-svn: 45046
-
- Dec 13, 2007
-
-
Ted Kremenek authored
deserialized. llvm-svn: 45006
-
Ted Kremenek authored
llvm-svn: 45005
-
Ted Kremenek authored
create a .ast file in the current working directory. This mirrors the behavior of the -c option for gcc. Later we should add the ability to write the serialized file anywhere. llvm-svn: 45004
-
Chris Lattner authored
llvm-svn: 45003
-
Ted Kremenek authored
and is a work in progress. llvm-svn: 44967
-
Ted Kremenek authored
instead of source files. llvm-svn: 44962
-
- Dec 12, 2007
-
-
Ted Kremenek authored
Moved all clients of Diagnostics to use FullSourceLoc instead of SourceLocation. Added many utility methods to FullSourceLoc to provide shorthand for: FullLoc.getManager().someMethod(FullLoc.getLocation()); instead we have: FullLoc.someMethod(); Modified TextDiagnostics (and related classes) to use this short-hand. llvm-svn: 44957
-
Ted Kremenek authored
and into the "Basic" library. TargetInfo objects are now constructed from triples by calling the static method TargetInfo::CreateTargetInfo. llvm-svn: 44940
-
Chris Lattner authored
llvm-svn: 44930
-
Chris Lattner authored
resolve some fixmes and clean up some code by eliminating the get*Vars apis to some classes and use iterators instead. llvm-svn: 44927
-
Chris Lattner authored
llvm-svn: 44911
-
Ted Kremenek authored
into the loop that processes input files. These will soon become translation unit specific (with the exception of LangOptions). llvm-svn: 44893
-
Fariborz Jahanian authored
llvm-svn: 44888
-
- Dec 11, 2007
-
-
Ted Kremenek authored
SourceManager*'s instead of SourceManager&'s. This allows the client specify a NULL SourceManager when using a default constructed SourceLocation. Thus the SourceManager can be NULL when the SourceLocation's isValid() == false. The interface to most clients of Diagnostic remains the same. Diagnostic::Report() is overload to either accept a SourceLocation and a SourceManager&, or neither. Thus clients that do not have a SourceManager cannot specify a SourceLocation. Modified TextDiagnostics* to use this new interface. Modified the driver to not passed in SourceManager when warning about "-I-". llvm-svn: 44887
-
Fariborz Jahanian authored
Re-implemented some of rewriting of protocol-qualified function argument types to support it in its generality. llvm-svn: 44886
-
Ted Kremenek authored
SourceManager is passed by reference, allowing the SourceManager to be associated with a specific translation unit, and not the entire execution of the driver. Modified all users of Diagnostics to comply with this new interface. Integrated SourceManager as a member variable of TargetInfo. TargetInfo will eventually be associated with a single translation unit (just like SourceManager). Made the SourceManager reference in ASTContext private. Provided accessor getSourceManager() for clients to use instead. Modified clients to comply with new interface. llvm-svn: 44878
-
Fariborz Jahanian authored
general use. llvm-svn: 44876
-
Chris Lattner authored
llvm-svn: 44845
-
- Dec 10, 2007
-
-
Anders Carlsson authored
llvm-svn: 44748
-
- Dec 09, 2007
-
-
Chris Lattner authored
not the start of a logical line. Be careful about this distinction, which affects when newlines are printed and when paste-avoidance happens, etc. This fixes PR1848, thanks to Neil for noticing this! llvm-svn: 44743
-
Chris Lattner authored
This would cause us to emit different code (in -E mode) for these two files: --- #define t(x) x t(a 3) --- #define t(x) x t(a 3) --- In one case, -E would print "a\n3", in the other it printed "a3". Now it prints "a3" for both. This is part of PR1848. llvm-svn: 44742
-
Chris Lattner authored
llvm-svn: 44731
-
- Dec 08, 2007
-
-
Anders Carlsson authored
llvm-svn: 44712
-
- Dec 07, 2007
-
-
Steve Naroff authored
Omit the field name when including the super class structure template. This allows us to access a superclasses ivars without deriving the absolute path. The comments below say a bit more... llvm-svn: 44688
-
Fariborz Jahanian authored
type. llvm-svn: 44685
-
Fariborz Jahanian authored
llvm-svn: 44681
-
Steve Naroff authored
Rewrite 'super' within a class method. This required some minor tweaks to the front-end. llvm-svn: 44673
-
- Dec 06, 2007
-
-
Fariborz Jahanian authored
to rewriter (my previous patch). llvm-svn: 44665
-
Ted Kremenek authored
GetLanguage, and InitializeLangOptions. The goal is to break up this logic into atomic units of functionality that can later be refactored into better driver logic that is capable of handling a mixture of source files of different languages. llvm-svn: 44642
-
Chris Lattner authored
llvm-svn: 44639
-
- Dec 05, 2007
-
-
Ted Kremenek authored
class to serialize and deserialize translation units. llvm-svn: 44634
-
Steve Naroff authored
Make sure the class methods get attached to the metaclass object. Need to query the implementation, not the interface... llvm-svn: 44633
-
Ted Kremenek authored
for serializing/deserializing ASTs that is decoupled from the logic in SerializationTest (which will soon be rewritten to use this interface). llvm-svn: 44631
-
Ted Kremenek authored
Modified: ctor of SerializationTest: Now takes LangOptions argument. We will eventually serialize this as well. llvm-svn: 44630
-
Chris Lattner authored
llvm-svn: 44622
-
Ted Kremenek authored
deserialized ASTs into the function CreateASTConsumer(). This function is called by ProcessInputFile, and soon the logic that processes deserialized ASTs. llvm-svn: 44618
-
Fariborz Jahanian authored
"struct objc_super". llvm-svn: 44616
-
Ted Kremenek authored
llvm-svn: 44592
-