[LLVMbugs] [Bug 1136] NEW: Rename Function::isExternal() -> isDeclaration()

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Jan 27 12:58:12 PST 2007


           Summary: Rename Function::isExternal() -> isDeclaration()
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rspencer at x10sys.com

For people learning LLVM, the isExternal() method on Function can be confusing.
It gets confused with isExternalLinkage(). To make things more clear in the
code, I suggest we rename this to isDeclaration() or isPrototype(). This keeps
it clear from using the word External which can cause the confusion.  There's no
functional change implied by this, just a name change.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list