llvm-project/clang/lib
Erik Verbruggen e0bde7554c 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

llvm-svn: 285295
2016-10-27 14:17:10 +00:00
..
ARCMigrate [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
AST Refactor call emission to package the function pointer together with 2016-10-26 23:46:34 +00:00
ASTMatchers [AST] Convert Marshallers to use unique_ptr. 2016-10-10 16:26:40 +00:00
Analysis Fix handling of %% format specifier in os_log builtins. 2016-10-25 00:48:48 +00:00
Basic Do not print include_next/pragma once warnings when input is a header. 2016-10-27 14:17:10 +00:00
CodeGen Empty the CtorLists/DtorLists once emitted. 2016-10-27 09:12:20 +00:00
Driver [XRay] Check in Clang whether XRay supports the target when -fxray-instrument is passed 2016-10-27 04:56:14 +00:00
Edit [OpenCL] Generate opaque type for sampler_t and function call for the initializer 2016-07-28 19:26:30 +00:00
Format Bug 28065 - clang-format incorrectly aligns backslash. 2016-10-26 07:44:51 +00:00
Frontend Do not print include_next/pragma once warnings when input is a header. 2016-10-27 14:17:10 +00:00
FrontendTool C++ Modules TS: add frontend support for building pcm files from module 2016-08-26 00:14:38 +00:00
Headers [PPC] add vector byte reverse functions to altivec.h 2016-10-27 06:23:57 +00:00
Index [index] Fixes for locations and relations in Objective C categories and getters/setters 2016-10-25 21:11:22 +00:00
Lex Do not print include_next/pragma once warnings when input is a header. 2016-10-27 14:17:10 +00:00
Parse Re-apply patch r279045. 2016-10-25 12:50:55 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema [Sema] -Wunused-variable warning for array variables should behave 2016-10-27 13:30:51 +00:00
Serialization [modules] Fix assert if multiple update records provide a definition for a 2016-10-26 02:31:56 +00:00
StaticAnalyzer [analyzer] Report CFNumberGetValue API misuse 2016-10-26 22:51:47 +00:00
Tooling Deduplicate sets of replacements by file names. 2016-10-14 09:32:06 +00:00
CMakeLists.txt