]> granicus.if.org Git - clang/commit
Break the assumption that any sort of scope (e.g. a loop scope) can
authorChris Lattner <sabre@nondot.org>
Sun, 26 Aug 2007 06:24:45 +0000 (06:24 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 26 Aug 2007 06:24:45 +0000 (06:24 +0000)
commit31e057270232c1c37602579cb6461c2704175672
tree9961557d2fe9c65e156942a73334a37b66d9fc30
parenta7c98959345da4cbfa4988b1806e111c40d4f335
Break the assumption that any sort of scope (e.g. a loop scope) can
hold declarations.  Instead, introduce a new "DeclScope" scope type that
holds them explicitly.  For now, all scopes have this bit, but in the
future we can use them to fix some issues Neil noticed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41431 91177308-0d34-0410-b5e6-96231b3b80d8
Parse/ParseDecl.cpp
Parse/ParseStmt.cpp
Parse/Parser.cpp
Sema/SemaDecl.cpp
include/clang/Parse/Scope.h