+3
−1
clang/test/PCH/Inputs/pragma-once.h
0 → 100644
+5
−0
clang/test/PCH/pragma-once.c
0 → 100644
+13
−0
Loading
------------------------------------------------------------------------
r276653 | ssrivastava | 2016-07-25 10:17:06 -0700 (Mon, 25 Jul 2016) | 11 lines
Support '#pragma once' in headers when using PCH
The '#pragma once' directive was erroneously ignored when encountered
in the header-file specified in generate-PCH-mode. This resulted in
compile-time errors in some cases with legal code, and also a misleading
warning being produced.
Patch by Warren Ristow!
Differential Revision: http://reviews.llvm.org/D19815
------------------------------------------------------------------------
llvm-svn: 277075