diff options
Diffstat (limited to 'contrib/llvm-project/clang/include/clang-c/Index.h')
| -rw-r--r-- | contrib/llvm-project/clang/include/clang-c/Index.h | 43 | 
1 files changed, 33 insertions, 10 deletions
diff --git a/contrib/llvm-project/clang/include/clang-c/Index.h b/contrib/llvm-project/clang/include/clang-c/Index.h index 74badac740b6..b653995ebbd0 100644 --- a/contrib/llvm-project/clang/include/clang-c/Index.h +++ b/contrib/llvm-project/clang/include/clang-c/Index.h @@ -18,10 +18,11 @@  #include <time.h> -#include "clang-c/Platform.h" +#include "clang-c/BuildSystem.h"  #include "clang-c/CXErrorCode.h"  #include "clang-c/CXString.h" -#include "clang-c/BuildSystem.h" +#include "clang-c/ExternC.h" +#include "clang-c/Platform.h"  /**   * The version constants for the libclang API. @@ -51,9 +52,7 @@      CINDEX_VERSION_MAJOR,                               \      CINDEX_VERSION_MINOR) -#ifdef __cplusplus -extern "C" { -#endif +LLVM_CLANG_C_EXTERN_C_BEGIN  /** \defgroup CINDEX libclang: C Interface to Clang   * @@ -1356,7 +1355,12 @@ enum CXTranslationUnit_Flags {     * the case where these warnings are not of interest, as for an IDE for     * example, which typically shows only the diagnostics in the main file.     */ -  CXTranslationUnit_IgnoreNonErrorsFromIncludedFiles = 0x4000 +  CXTranslationUnit_IgnoreNonErrorsFromIncludedFiles = 0x4000, + +  /** +   * Tells the preprocessor not to skip excluded conditional blocks. +   */ +  CXTranslationUnit_RetainExcludedConditionalBlocks = 0x8000  };  /** @@ -2550,7 +2554,27 @@ enum CXCursorKind {     */    CXCursor_BuiltinBitCastExpr = 280, -  CXCursor_LastStmt = CXCursor_BuiltinBitCastExpr, +  /** OpenMP master taskloop directive. +   */ +  CXCursor_OMPMasterTaskLoopDirective = 281, + +  /** OpenMP parallel master taskloop directive. +   */ +  CXCursor_OMPParallelMasterTaskLoopDirective = 282, + +  /** OpenMP master taskloop simd directive. +   */ +  CXCursor_OMPMasterTaskLoopSimdDirective      = 283, + +  /** OpenMP parallel master taskloop simd directive. +   */ +  CXCursor_OMPParallelMasterTaskLoopSimdDirective      = 284, + +  /** OpenMP parallel master directive. +   */ +  CXCursor_OMPParallelMasterDirective      = 285, + +  CXCursor_LastStmt = CXCursor_OMPParallelMasterDirective,    /**     * Cursor that represents the translation unit itself. @@ -6753,7 +6777,6 @@ CINDEX_LINKAGE unsigned clang_Type_visitFields(CXType T,   * @}   */ -#ifdef __cplusplus -} -#endif +LLVM_CLANG_C_EXTERN_C_END +  #endif  | 
