HomePhabricator

Do not print include_next/pragma once warnings when input is a header.

Description

Do not print include_next/pragma once warnings when input is a header.

r276653 suppressed the pragma once warning when generating a PCH file.
This patch extends that to any main file for which clang is told (with
the -x option) that it's a header file. It will also suppress the
warning "#include_next in primary source file".

Differential Revision: http://reviews.llvm.org/D25989

Details

Committed
erikjvOct 27 2016, 7:17 AM
Differential Revision
D25989: Do not print include_next/pragma once warnings when input is a header.
Parents
rL285294: Store OSABI in Config.
Branches
Unknown
Tags
Unknown