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

            Bug ID: 48610
           Summary: cetintrin.h empty argument list instead of void
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Headers
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

In clang/lib/Headers/cetintrin.h, _saveprevssp and _setssbsy are declared with
empty argument lists instead of (void), which causes some analysis tools to see
them as variadic.

For reference the Intel and GCC compilers define them with (void) - 

https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=shadow 

https://github.com/gcc-mirror/gcc/blob/master/gcc/config/i386/cetintrin.h

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

Reply via email to