From 92bd8c70a6837b647a6c55964f8d0a50bf561dbc Mon Sep 17 00:00:00 2001 From: John Thompson Date: Mon, 2 Nov 2009 22:28:12 +0000 Subject: [PATCH] Added __has_include and __has_include_next. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85834 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LanguageExtensions.html | 64 +++++++++++ include/clang/Basic/DiagnosticLexKinds.td | 1 + include/clang/Lex/Preprocessor.h | 2 + lib/Headers/stdint.h | 3 +- lib/Lex/PPMacroExpansion.cpp | 131 +++++++++++++++++++++- test/Preprocessor/has_include.c | 83 ++++++++++++++ 6 files changed, 281 insertions(+), 3 deletions(-) create mode 100644 test/Preprocessor/has_include.c diff --git a/docs/LanguageExtensions.html b/docs/LanguageExtensions.html index 9ac35e1dc2..1c892fd23a 100644 --- a/docs/LanguageExtensions.html +++ b/docs/LanguageExtensions.html @@ -20,6 +20,7 @@ td {