diff options
| author | Kaelyn Uhrain <rikka@google.com> | 2013-07-02 23:47:35 +0000 |
|---|---|---|
| committer | Kaelyn Uhrain <rikka@google.com> | 2013-07-02 23:47:35 +0000 |
| commit | caa16dd469b6f7bfb5bce05afd8772f5d4196322 (patch) | |
| tree | f15eba343f82e75fec0fe741321bb9442131370c /lib/CodeGen/CGExpr.cpp | |
| parent | 8ed38d8046e642c2d81775ada2ecee821f2e2a02 (diff) | |
| download | clang-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
