http://llvm.org/bugs/show_bug.cgi?id=18229
Bug ID: 18229
Summary: llvm/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:46
49: maybe pointless assert ?
Product: new-bugs
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Static analysis tool "cppcheck" said the following
[llvm/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:4649] ->
[llvm/tools/clang/lib/Sema/SemaTemplat
eDeduction.cpp:4649]: (style) Same expression on both sides of '=='.
Source code is
assert(PS1->getSpecializedTemplate() == PS1->getSpecializedTemplate() &&
"the partial specializations being compared should specialize"
" the same template.");
Maybe
assert(PS1->getSpecializedTemplate() == PS2->getSpecializedTemplate() &&
"the partial specializations being compared should specialize"
" the same template.");
was intended ?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs