|
|
|||
File indexing completed on 2026-05-10 08:36:17
0001 /*===-- clang-c/CXErrorCode.h - C Index Error Codes --------------*- C -*-===*\ 0002 |* *| 0003 |* Part of the LLVM Project, under the Apache License v2.0 with LLVM *| 0004 |* Exceptions. *| 0005 |* See https://llvm.org/LICENSE.txt for license information. *| 0006 |* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *| 0007 |* *| 0008 |*===----------------------------------------------------------------------===*| 0009 |* *| 0010 |* This header provides the CXErrorCode enumerators. *| 0011 |* *| 0012 \*===----------------------------------------------------------------------===*/ 0013 0014 #ifndef LLVM_CLANG_C_CXERRORCODE_H 0015 #define LLVM_CLANG_C_CXERRORCODE_H 0016 0017 #include "clang-c/ExternC.h" 0018 #include "clang-c/Platform.h" 0019 0020 LLVM_CLANG_C_EXTERN_C_BEGIN 0021 0022 /** 0023 * Error codes returned by libclang routines. 0024 * 0025 * Zero (\c CXError_Success) is the only error code indicating success. Other 0026 * error codes, including not yet assigned non-zero values, indicate errors. 0027 */ 0028 enum CXErrorCode { 0029 /** 0030 * No error. 0031 */ 0032 CXError_Success = 0, 0033 0034 /** 0035 * A generic error code, no further details are available. 0036 * 0037 * Errors of this kind can get their own specific error codes in future 0038 * libclang versions. 0039 */ 0040 CXError_Failure = 1, 0041 0042 /** 0043 * libclang crashed while performing the requested operation. 0044 */ 0045 CXError_Crashed = 2, 0046 0047 /** 0048 * The function detected that the arguments violate the function 0049 * contract. 0050 */ 0051 CXError_InvalidArguments = 3, 0052 0053 /** 0054 * An AST deserialization error has occurred. 0055 */ 0056 CXError_ASTReadError = 4 0057 }; 0058 0059 LLVM_CLANG_C_EXTERN_C_END 0060 0061 #endif 0062
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|