https://bugs.llvm.org/show_bug.cgi?id=44365
Bug ID: 44365
Summary: -Wpragma-once-outside-header warns in a modular header
unit
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
When compiling a header unit consisting of
#pragma once
and passing the flag -Wpragma-once-outside-header, clang emits a warning. It
should not emit a warning -- header units can still be included like normal.
--
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