]> granicus.if.org Git - clang/commit
Fix a layering oddity by passing Sema to DeclSpec::Finish instead of DiagnosticsEngin...
authorCraig Topper <craig.topper@gmail.com>
Sun, 15 Nov 2015 03:32:11 +0000 (03:32 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 15 Nov 2015 03:32:11 +0000 (03:32 +0000)
commit2d7346dc6e4ad6dea65ec6892afe974def223c0e
tree8dc41324195114877dc576534b2ef593d3bc2678
parentb7eb8fca818d90ff076c741b106c6c90533969d6
Fix a layering oddity by passing Sema to DeclSpec::Finish instead of DiagnosticsEngine and Preprocessor. Everything the preprocessor was being used for can be acquired from Sema.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253158 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/DeclSpec.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseExprCXX.cpp
lib/Sema/DeclSpec.cpp