]> granicus.if.org Git - clang/commit
[Basic] Remove source manager references from diag state points.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 18 Jan 2017 15:50:26 +0000 (15:50 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 18 Jan 2017 15:50:26 +0000 (15:50 +0000)
commit8144e66d7e790ae2a020dc0d83bacf4d518bd91a
tree6211f6e520fb10639119485a21554b5c9900acf6
parent4009850c3e7f91887ebd9e5d45bf7d808f71fbfb
[Basic] Remove source manager references from diag state points.

This is just wasted space, we don't support state points from multiple
source managers. Validate that there's no state when resetting the
source manager and use the 'global' reference to the sourcemanager
instead of the ones in the diag state.

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