]>
git.saurik.com Git - cycript.git/blob - extra/clang-c/CXErrorCode.h
1 /*===-- clang-c/CXErrorCode.h - C Index Error Codes --------------*- C -*-===*\
3 |* The LLVM Compiler Infrastructure *|
5 |* This file is distributed under the University of Illinois Open Source *|
6 |* License. See LICENSE.TXT for details. *|
8 |*===----------------------------------------------------------------------===*|
10 |* This header provides the CXErrorCode enumerators. *|
12 \*===----------------------------------------------------------------------===*/
14 #ifndef LLVM_CLANG_C_CXERRORCODE_H
15 #define LLVM_CLANG_C_CXERRORCODE_H
17 #include "clang-c/Platform.h"
24 * \brief Error codes returned by libclang routines.
26 * Zero (\c CXError_Success) is the only error code indicating success. Other
27 * error codes, including not yet assigned non-zero values, indicate errors.
36 * \brief A generic error code, no further details are available.
38 * Errors of this kind can get their own specific error codes in future
44 * \brief libclang crashed while performing the requested operation.
49 * \brief The function detected that the arguments violate the function
52 CXError_InvalidArguments
= 3,
55 * \brief An AST deserialization error has occurred.
57 CXError_ASTReadError
= 4