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: unassignedclangb...@nondot.org
Reporter: da...@doublewise.net
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
neeil...@live.com, richard-l...@metafoo.co.uk
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
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs