]> granicus.if.org Git - clang/commit
move the diagnostic location and ID out of DiagnosticInfo and store it in
authorChris Lattner <sabre@nondot.org>
Fri, 21 Nov 2008 06:59:12 +0000 (06:59 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 21 Nov 2008 06:59:12 +0000 (06:59 +0000)
commitb7fc3b87d065041a10eaa0603d738df21ff7af3a
tree1bdee477a6826e40738f2dbddfd330141ebe761e
parent2cb836eb16afea6a7e07109bdec37e85c44d7bd7
move the diagnostic location and ID out of DiagnosticInfo and store it in
the Diagnostic class. Since we can already only have one diagnostic in
flight at a time, this shrinks DiagnosticInfo.

This reduces DiagnosticInfo to being basically a rather crazy smart pointer
to a DiagnosticInfo :)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59798 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Diagnostic.h