Disallow multiple inclusion of clang/Config/config.h

Internal config.h headers are only meant to be included from the main file.

llvm-svn: 210487
This commit is contained in:
Alp Toker 2014-06-09 19:09:28 +00:00
parent 297c826385
commit 9ea60874aa
2 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,8 @@
#ifndef CONFIG_H
/* This generated file is for internal use. Do not include it from headers. */
#ifdef CONFIG_H
#error config.h can only be included once
#else
#define CONFIG_H
/* Bug report URL. */

View File

@ -1,4 +1,8 @@
#ifndef CONFIG_H
/* This generated file is for internal use. Do not include it from headers. */
#ifdef CONFIG_H
#error config.h can only be included once
#else
#define CONFIG_H
/* Bug report URL. */