- Feb 17, 2009
-
-
Fariborz Jahanian authored
general use; as for, objc2's gc type attributes. No change in functionality. llvm-svn: 64778
-
- Feb 07, 2009
-
-
Daniel Dunbar authored
non-empty. llvm-svn: 63986
-
- Feb 04, 2009
-
-
Chris Lattner authored
getColumnNumber. This fixes a FIXME in SourceManager::getPresumedLoc because we now just decompose the sloc once. llvm-svn: 63701
-
- Jan 28, 2009
-
-
Nuno Lopes authored
llvm-svn: 63158
-
- Jan 22, 2009
-
-
Daniel Dunbar authored
- Although gross, this is needed currently to ensure that we produce well formed debug information (to match pace with the assertions being added to DebugInfo in LLVM). llvm-svn: 62734
-
- Jan 20, 2009
-
-
Daniel Dunbar authored
llvm-svn: 62556
-
- Jan 19, 2009
-
-
Chris Lattner authored
no longer such thing as a non-canonical FileID. llvm-svn: 62499
-
Chris Lattner authored
llvm-svn: 62496
-
- Jan 16, 2009
-
-
Chris Lattner authored
"logical" location, refer to the "instantiation" location. llvm-svn: 62316
-
- Jan 05, 2009
-
-
Anders Carlsson authored
llvm-svn: 61661
-
- Dec 11, 2008
-
-
Douglas Gregor authored
Actually distinguish between RecordDecl::field_iterator and RecordDecl::field_const_iterator, propagating the constness down to the FieldDecls. llvm-svn: 60883
-
Douglas Gregor authored
and separates lexical name lookup from qualified name lookup. In particular: * Make DeclContext the central data structure for storing and looking up declarations within existing declarations, e.g., members of structs/unions/classes, enumerators in C++0x enums, members of C++ namespaces, and (later) members of Objective-C interfaces/implementations. DeclContext uses a lazily-constructed data structure optimized for fast lookup (array for small contexts, hash table for larger contexts). * Implement C++ qualified name lookup in terms of lookup into DeclContext. * Implement C++ unqualified name lookup in terms of qualified+unqualified name lookup (since unqualified lookup is not purely lexical in C++!) * Limit the use of the chains of declarations stored in IdentifierInfo to those names declared lexically. * Eliminate CXXFieldDecl, collapsing its behavior into FieldDecl. (FieldDecl is now a ScopedDecl). * Make RecordDecl into a DeclContext and eliminates its Members/NumMembers fields (since one can just iterate through the DeclContext to get the fields). llvm-svn: 60878
-
- Nov 26, 2008
-
-
Anders Carlsson authored
llvm-svn: 60109
-
- Nov 24, 2008
-
-
Chris Lattner authored
uses of getName() with uses of getDeclName(). This upgrades a bunch of diags to take DeclNames instead of std::strings. This also tweaks a couple of diagnostics to be cleaner and changes CheckInitializerTypes/PerformInitializationByConstructor to pass around DeclarationNames instead of std::strings. llvm-svn: 59947
-
Chris Lattner authored
assert if the name is not an identifier. Update callers to do the right thing and avoid this method in unsafe cases. This also fixes an objc warning that was missing a space, and migrates a couple more to taking IdentifierInfo and QualTypes instead of std::strings. llvm-svn: 59936
-
- Nov 17, 2008
-
-
Douglas Gregor authored
representing the names of declarations in the C family of languages. DeclarationName is used in NamedDecl to store the name of the declaration (naturally), and ObjCMethodDecl is now a NamedDecl. llvm-svn: 59441
-
- Nov 11, 2008
-
-
Chris Lattner authored
llvm-svn: 59032
-
- Nov 10, 2008
-
-
Chris Lattner authored
1. emit proper debug info for forward decls of structs. 2. emit DW_TAG_member nodes around members of a field like llvm-gcc does. This slows down debug info generation, but is required for correctness. llvm-svn: 58973
-
Chris Lattner authored
using MachineModuleInfo. This runs at about the same speed as the old code, but fixes a bunch of bugs and is simpler and shorter. llvm-svn: 58971
-
- Nov 08, 2008
-
-
Daniel Dunbar authored
llvm-svn: 58892
-
Daniel Dunbar authored
generate the type of a member. llvm-svn: 58889
-
- Nov 01, 2008
-
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58546
-
- Oct 31, 2008
-
-
Daniel Dunbar authored
type. llvm-svn: 58497
-
Daniel Dunbar authored
recursive types. - Style will be clean up in further patches. llvm-svn: 58490
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58488
-
- Oct 24, 2008
-
-
Daniel Dunbar authored
CGDebugInfo::getOrCreateCompileUnit. llvm-svn: 58081
-
Daniel Dunbar authored
FileIDs. This seems better conceptually and lets the SourceManager handle details of mapping the location to a file ID. - In practice, fixes an assert because this code wasn't using getPhysicalLoc. llvm-svn: 58055
-
- Oct 18, 2008
-
-
Daniel Dunbar authored
for Obj-C methods. llvm-svn: 57769
-
- Oct 17, 2008
-
-
Daniel Dunbar authored
simplifies clients. Also, add assert that RegionStack is empty when the CGDebugInfo is destroyed. llvm-svn: 57684
-
Daniel Dunbar authored
structure. - I'm not sure yet about the behavior, but this at least prevents the crash. Add some asserts on RegionStack usage. llvm-svn: 57661
-
- Aug 11, 2008
-
-
Daniel Dunbar authored
- Drop Expr.h,RecordLayout.h from ASTContext.h (for DeclBase.h and SourceLocation.h) - Move ASTContext constructor into implementation llvm-svn: 54627
-
- Aug 08, 2008
-
-
Chris Lattner authored
llvm-svn: 54548
-
- Aug 04, 2008
-
-
Chris Lattner authored
Finally fix PR2189. This makes a fairly invasive but important change to move getAsArrayType into ASTContext instead of being a method on type. This is required because getAsArrayType(const AT), where AT is a typedef for "int[10]" needs to return ArrayType(const int, 10). Fixing this greatly simplifies getArrayDecayedType, which is a good sign. llvm-svn: 54317
-
- Jul 04, 2008
-
-
Bill Wendling authored
llvm-svn: 53121
-
- Jun 27, 2008
-
-
Cedric Venet authored
Add new file to Sema Project for VS. this unbreak the build for VS2005 (with the associated patch on llvm). llvm-svn: 52830
-
- Jun 19, 2008
-
-
Mike Stump authored
llvm-svn: 52507
-
- Jun 09, 2008
-
-
Sanjiv Gupta authored
llvm-svn: 52140
-
- Jun 08, 2008
-
-
Nuno Lopes authored
llvm-svn: 52089
-
- Jun 07, 2008
-
-
Sanjiv Gupta authored
llvm-svn: 52070
-
- Jun 05, 2008
-
-
Sanjiv Gupta authored
llvm-svn: 51993
-