summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-c-test/llvm-c-test.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-c-test/llvm-c-test.h')
-rw-r--r--llvm/tools/llvm-c-test/llvm-c-test.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/llvm/tools/llvm-c-test/llvm-c-test.h b/llvm/tools/llvm-c-test/llvm-c-test.h
index fa5a9d04cca..60edc0df4d1 100644
--- a/llvm/tools/llvm-c-test/llvm-c-test.h
+++ b/llvm/tools/llvm-c-test/llvm-c-test.h
@@ -10,15 +10,10 @@
|* Header file for llvm-c-test *|
|* *|
\*===----------------------------------------------------------------------===*/
-
#ifndef LLVM_C_TEST_H
#define LLVM_C_TEST_H
-#ifdef __cplusplus
-#include <cstdbool>
-#else
#include <stdbool.h>
-#endif
#include "llvm-c/Core.h"
#ifdef __cplusplus
@@ -56,6 +51,6 @@ int llvm_echo(void);
#ifdef __cplusplus
}
-#endif
+#endif /* !defined(__cplusplus) */
-#endif // LLVM_C_TEST_H
+#endif
OpenPOWER on IntegriCloud