[PATCH] Add new warning to Clang to detect when all code paths in a function has a call back to the function.
Richard Trieu
rtrieu at google.com
Mon Oct 14 13:10:11 PDT 2013
Warn on non-templated member functions of templated classes.
http://llvm-reviews.chandlerc.com/D1864
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D1864?vs=4752&id=4900#toc
Files:
lib/Sema/AnalysisBasedWarnings.cpp
lib/Lex/Pragma.cpp
test/Sema/unused-expr-system-header.c
test/Sema/attr-deprecated.c
test/Sema/warn-unused-function.c
test/Parser/cxx-using-declaration.cpp
test/Parser/expressions.c
test/CodeGen/functions.c
test/SemaCXX/MicrosoftCompatibility.cpp
test/SemaCXX/warn-infinite-recursion.cpp
test/SemaCXX/warn-bool-conversion.cpp
test/SemaCXX/statements.cpp
test/Lexer/gnu-flags.c
test/Analysis/inlining/test-always-inline-size-option.c
test/Analysis/misc-ps-region-store.cpp
test/Analysis/cxx11-crashes.cpp
test/FixIt/fixit.c
test/FixIt/typo.m
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Basic/DiagnosticGroups.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1864.2.patch
Type: text/x-patch
Size: 16150 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131014/9fabfe50/attachment.bin>
More information about the cfe-commits
mailing list