]> granicus.if.org Git - clang/commit
[Basic] Extend DiagnosticEngine to store and format Qualifiers.
authorAnastasia Stulova <anastasia.stulova@arm.com>
Fri, 4 Jan 2019 11:50:36 +0000 (11:50 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Fri, 4 Jan 2019 11:50:36 +0000 (11:50 +0000)
commitdfe36d72bcb3226bc633eafaf7487612b2e75f0e
tree265b44c15137beb462fec7707eaa72190f6a127f
parentc72bf467c95d38f437f2dbacddf38611c21aa99a
[Basic] Extend DiagnosticEngine to store and format Qualifiers.

Qualifiers can now be streamed into the DiagnosticEngine using
regular << operator. If Qualifiers are empty 'unqualified' will
be printed in the diagnostic otherwise regular qual syntax is
used.

Differential Revision: https://reviews.llvm.org/D56198

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350386 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
include/clang/Basic/Diagnostic.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/ASTDiagnostic.cpp
lib/Basic/Diagnostic.cpp
lib/Sema/SemaOverload.cpp
test/SemaCXX/addr-of-overloaded-function.cpp
test/SemaCXX/warn-overloaded-virtual.cpp