[LLVMbugs] [Bug 18395] New: CallExpr should override const_child_range children() const from Stmt

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 6 04:23:19 PST 2014


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

            Bug ID: 18395
           Summary: CallExpr should override const_child_range children()
                    const from Stmt
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: noelgrandin at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

At line 2261 in 
  /include/clang/AST/Expr.h

in the definition of the class 
  clang::CallExpr,
it overrides
  child_range children()
from the class 
  clang::Stmt

It should also override
    const_child_range children () const

So that this method can be used in places where CallExpr is const.

-- 
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/20140106/7b825021/attachment.html>


More information about the llvm-bugs mailing list