summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorKaelyn Uhrain <rikka@google.com>2013-07-02 23:47:35 +0000
committerKaelyn Uhrain <rikka@google.com>2013-07-02 23:47:35 +0000
commitcaa16dd469b6f7bfb5bce05afd8772f5d4196322 (patch)
treef15eba343f82e75fec0fe741321bb9442131370c /lib/CodeGen/CGExpr.cpp
parent8ed38d8046e642c2d81775ada2ecee821f2e2a02 (diff)
downloadclang-caa16dd469b6f7bfb5bce05afd8772f5d4196322.tar.gz
clang-caa16dd469b6f7bfb5bce05afd8772f5d4196322.tar.bz2
clang-caa16dd469b6f7bfb5bce05afd8772f5d4196322.tar.xz
Look for corrections in enclosing namespaces that require a global NestedNameSpecifier.
CorrectTypo will now see and consider those corrections that are effectively shadowed by other declarations in a closer context when resolved via an unqualified lookup. This involves adding any parent namespaces to the set of namespaces as fully-qualified name specifiers, and also adding potential corrections that passed name lookup but were rejected by the given CorrectionCandidateCallback into the set of failed corrections that should be tried with the set of namespace specifiers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions