summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-c-test/llvm-c-test.h
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-05 20:45:04 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-05 20:45:04 +0000
commit91d3cfed785b46723ebbf8197f70aa0f854c05d7 (patch)
tree94f71306bb51cc3e1cadab7d71e0de2d51328b89 /llvm/tools/llvm-c-test/llvm-c-test.h
parent27e95f7c7b22117e5f36d1ef874dac9b48555f18 (diff)
downloadbcm5719-llvm-91d3cfed785b46723ebbf8197f70aa0f854c05d7.tar.gz
bcm5719-llvm-91d3cfed785b46723ebbf8197f70aa0f854c05d7.zip
Revert "Fix Clang-tidy modernize-deprecated-headers warnings in remaining files; other minor fixes."
This reverts commit r265454 since it broke the build. E.g.: http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/22413/ llvm-svn: 265459
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