]> granicus.if.org Git - clang/commit
add support for inserting a DeclarationName into a diagnostic directly
authorChris Lattner <sabre@nondot.org>
Sun, 23 Nov 2008 20:28:15 +0000 (20:28 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 23 Nov 2008 20:28:15 +0000 (20:28 +0000)
commit011bb4edf731d529da1cbf71c7c2696aaf5a054f
tree7087bbc4c94f2fe93b085406298a43cac6f3e232
parent545b368e6164ab748f55c5f84d384e97fc8a798b
add support for inserting a DeclarationName into a diagnostic directly
without calling getAsString().  This implicitly puts quotes around the
name, so diagnostics need to be tweaked to accommodate this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59916 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclarationName.h
include/clang/AST/Type.h
include/clang/Analysis/PathSensitive/BugReporter.h
include/clang/Basic/Diagnostic.h
include/clang/Basic/DiagnosticKinds.def
lib/Basic/Diagnostic.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaDecl.cpp
test/SemaCXX/nested-name-spec.cpp