[PATCH] D11789: Modify DeclaratorChuck::getFunction to be passed an Exception Specification SourceRange
Nathan Wilson via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 15 21:23:20 PDT 2015
nwilson updated this revision to Diff 32228.
nwilson added a comment.
Patch addressing comments; fix comment/documentation wording, scoping of diagnostic and setting invalid declaration, and fix test.
I also modified the location of the diagnostic indicating an exception specification is not allowed to point to the function declarator in order to handle a range having an invalid begin location.
The 80 column limit was overrun in SemaType.cpp, so clang format has been run on the problematic lines in the file.
http://reviews.llvm.org/D11789
Files:
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/DeclSpec.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseExpr.cpp
lib/Parse/ParseExprCXX.cpp
lib/Sema/DeclSpec.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaType.cpp
test/SemaCXX/cxx-concept-declaration.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11789.32228.patch
Type: text/x-patch
Size: 10955 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150816/6f83fb8a/attachment-0001.bin>
More information about the cfe-commits
mailing list