https://bugs.llvm.org/show_bug.cgi?id=48556

            Bug ID: 48556
           Summary: -Wc++98-compat thinks __auto_type is auto
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: gabrav...@gmail.com
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

__auto_type x = 0;

When compiling with `-Wc++98-compat`, Clang thinks `__auto_type` is C++11's
`auto`, when it is GNU C's `__auto_type`.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to