summaryrefslogtreecommitdiff
path: root/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-02-09 06:54:23 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-02-09 06:54:23 +0000
commit97e7a0350d369f8c8a55d1a3a1e10917363d0f1f (patch)
tree4055b28f67ba15390c575af42d4fd943a1592c5a /lib/Serialization/ModuleManager.cpp
parentc809e1493facfee2a47e47d735c6db16a5c65ea4 (diff)
downloadclang-97e7a0350d369f8c8a55d1a3a1e10917363d0f1f.tar.gz
clang-97e7a0350d369f8c8a55d1a3a1e10917363d0f1f.tar.bz2
clang-97e7a0350d369f8c8a55d1a3a1e10917363d0f1f.tar.xz
Improve diagnostic for using non-class/namespace/scoped enum in a nested name specifier.
Rather than simply saying "X is not a class or namespace", clarify what X is by providing the aka type in the case where X is a type, or pointing to the named declaration if there's an unambiguous one to refer to. In the ambiguous case, the ambiguities are already enumerated (though could be clarified by describing what kind of entities they are) Included a few FIXMEs in tests where some further improvements could be made. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions