[PATCH] Warn on duplicate function specifier
Serge Pavlov
sepavloff at gmail.com
Mon Oct 28 07:59:25 PDT 2013
Warn on duplicate function specifier
It looks like things are more complicated here.
Thank you for the comment and for the nice example.
In the updated patch __forceinline is considered as a separate specifier,
but its presence is reported same as for inline.
http://llvm-reviews.chandlerc.com/D2025
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D2025?vs=5157&id=5195#toc
Files:
include/clang/Sema/DeclSpec.h
lib/Parse/ParseDecl.cpp
lib/Sema/DeclSpec.cpp
test/Parser/MicrosoftExtensions.c
test/Sema/declspec.c
test/SemaCXX/explicit.cpp
test/SemaCXX/virtuals.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2025.2.patch
Type: text/x-patch
Size: 10768 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131028/c03a5fbd/attachment.bin>
More information about the cfe-commits
mailing list