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

            Bug ID: 22455
           Summary: -Wglobal-constructors does not warn about local static
                    variables
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified

Created attachment 13806
  --> http://llvm.org/bugs/attachment.cgi?id=13806&action=edit
Reprocase

I'm attaching a simple reprocase which does emit a warning for top-level global
constructor but is silent about global ctor for local static variable.

-- 
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

Reply via email to