Files
Clang-C/CXErrorCode.bf
2026-01-29 19:12:36 +01:00

74 lines
1.8 KiB
Beef

// This file was auto-generated by Cpp2Beef
using System;
using System.Interop;
namespace LibClang;
static
{
/*===-- clang-c/CXErrorCode.h - C Index Error Codes --------------*- C -*-===*\
|* *|
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
|* Exceptions. *|
|* See https://llvm.org/LICENSE.txt for license information. *|
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
|* *|
|*===----------------------------------------------------------------------===*|
|* *|
|* This header provides the CXErrorCode enumerators. *|
|* *|
\*===----------------------------------------------------------------------===*/
}
/**
* Error codes returned by libclang routines.
*
* Zero (\c CXError_Success) is the only error code indicating success. Other
* error codes, including not yet assigned non-zero values, indicate errors.
*/
[AllowDuplicates] public enum CXErrorCode : c_int {
/**
* No error.
*/
Success = 0,
/**
* A generic error code, no further details are available.
*
* Errors of this kind can get their own specific error codes in future
* libclang versions.
*/
Failure = 1,
/**
* libclang crashed while performing the requested operation.
*/
Crashed = 2,
/**
* The function detected that the arguments violate the function
* contract.
*/
InvalidArguments = 3,
/**
* An AST deserialization error has occurred.
*/
ASTReadError = 4,
}