[LLVMbugs] [Bug 21981] New: Add Clang C++ warning to suggest making non-virtual method const

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 19 09:52:02 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=21981

            Bug ID: 21981
           Summary: Add Clang C++ warning to suggest making non-virtual
                    method const
           Product: new-bugs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: eugene.zelenko at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Hi!

I think will be great to have warning which will suggest to make non-vuirtual
method const if doesn't modify object's state and/or call only other const
methods.

Eugene.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141219/9fe22702/attachment.html>


More information about the llvm-bugs mailing list