[PATCH] D16579: Warn if friend function depends on template parameters.
Serge Pavlov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 10 08:23:15 PDT 2017
sepavloff updated this revision to Diff 105853.
sepavloff added a comment.
Updated patch
- Remove changes that are not needed anymore,
- Function matching is implemented on recursive function instead of TypeVisitor. It support subset of checks, which should be enough for practical use.
- Added more comments.
https://reviews.llvm.org/D16579
Files:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/Sema.cpp
lib/Sema/SemaChecking.cpp
lib/Sema/SemaDecl.cpp
test/CXX/drs/dr3xx.cpp
test/CXX/drs/dr5xx.cpp
test/CXX/temp/temp.res/p3.cpp
test/SemaCXX/friend.cpp
test/SemaCXX/overload-call.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16579.105853.patch
Type: text/x-patch
Size: 21728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170710/294ae954/attachment-0001.bin>
More information about the cfe-commits
mailing list