]> granicus.if.org Git - clang/commit
Refactor methods on DeclSpec to take a diagnostic& parameter, and reflect this
authorJohn McCall <rjmccall@apple.com>
Mon, 3 Aug 2009 20:12:06 +0000 (20:12 +0000)
committerJohn McCall <rjmccall@apple.com>
Mon, 3 Aug 2009 20:12:06 +0000 (20:12 +0000)
commitfec54013fcd0eb72642741584ca04c1bc292bef8
tree296d1773fbdb933456493aefe724350b35eb2227
parentd1e1ef3b0a54d7e1e9247326a4dab3ec0d4b8ce8
Refactor methods on DeclSpec to take a diagnostic& parameter, and reflect this
elsewhere.  Very slightly decouples DeclSpec users from knowing the exact
diagnostics to report, and makes it easier to provide different diagnostics in
some places.

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