[LLVMbugs] [Bug 19691] New: class MacroDirective::DefInfo default constructor fails to initialize IsPublic

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 8 13:29:59 PDT 2014


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

            Bug ID: 19691
           Summary: class MacroDirective::DefInfo default constructor
                    fails to initialize IsPublic
           Product: clang
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: slambright at coverity.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The class MacroDirective::DefInfo in MacroInfo.h has a default constructor
which fails to initialize all of it's primitive member data. The member
"IsPublic" is left uninitialized.

I don't think this has any practical side-effects currently, outside of the API
oddity that the "isPublic()" method will return inconsistent results when
"isInvalid()" is true.

-- 
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/20140508/6d9444ad/attachment.html>


More information about the llvm-bugs mailing list