]> granicus.if.org Git - clang/commit
Put the usage-directive inside the nearest namespace or TU decl. We don't want
authorNick Lewycky <nicholas@mxc.ca>
Sun, 4 Nov 2012 20:21:54 +0000 (20:21 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 4 Nov 2012 20:21:54 +0000 (20:21 +0000)
commit4b7631bc011ce36dbc8f664c518668f0ba5d18a9
treec92d18da0a402ed8101b49a450124f1484ea7b76
parentc441cd347014bd3fe1915333c992a9a68bd725f9
Put the usage-directive inside the nearest namespace or TU decl. We don't want
to have UsingDirectiveDecl inside anything other than those two.

No user-visible functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167376 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp