- Sep 09, 2008
-
-
Argyrios Kyrtzidis authored
Make IdentifierResolver::isDeclInScope regard declarations of a parent 'control' scope as part of the current scope. The 'control' scope is the 'condition' scope of if/switch/while statements and the scope that contains the for-init-statement and 'condition' of a for statement. e.g: if (int x = 0 /*'control' scope*/) { // x will be regarded as part of this substatement scope. } else { // and as part of this substatement scope too. } llvm-svn: 56020
-
Argyrios Kyrtzidis authored
Make Sema pass the LangOptions to IdentifierResolver's constructor. llvm-svn: 56015
-
Argyrios Kyrtzidis authored
llvm-svn: 56002
-
- Jul 17, 2008
-
-
Argyrios Kyrtzidis authored
Unify ctx_iterator/ctx_begin()/ctx_end() and iterator/begin()/end() so that a single iterator type is used for both traversing decls of the same declaration context *and* of the parent declaration contexts, depending on the value of the bool parameter 'LookInParentCtx' that is passed to IdentifierResolver::begin(). llvm-svn: 53724
-
- May 15, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 51151
-
- May 10, 2008
-
-
Argyrios Kyrtzidis authored
-identifierResolver exposes an iterator interface to get all decls through the scope chain. -The semantic staff (checking IdentifierNamespace and Doug's checking for shadowed tags were moved out of IdentifierResolver and back into Sema. IdentifierResolver just gives an iterator for all reachable decls of an identifier. llvm-svn: 50923
-
- Apr 14, 2008
-
-
Douglas Gregor authored
llvm-svn: 49631
-
Argyrios Kyrtzidis authored
llvm-svn: 49628
-
- Apr 13, 2008
-
-
Douglas Gregor authored
llvm-svn: 49621
-
- Apr 12, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 49582
-
Argyrios Kyrtzidis authored
Moved IdDeclInfo class to anonymous namespace. Replaced array with a std::vector. llvm-svn: 49570
-
- Apr 11, 2008
-
-
Chris Lattner authored
llvm-svn: 49521
-