Go to the documentation of this file.
9 #ifndef LLDB_LLDB_PRIVATE_DEFINES_H
10 #define LLDB_LLDB_PRIVATE_DEFINES_H
12 #if defined(__cplusplus)
16 #include "llvm/Support/Compiler.h"
18 #ifndef LLVM_FALLTHROUGH
20 #ifndef __has_cpp_attribute
21 #define __has_cpp_attribute(x) 0
26 #if __has_cpp_attribute(clang::fallthrough)
27 #define LLVM_FALLTHROUGH [[clang::fallthrough]]
29 #define LLVM_FALLTHROUGH
32 #endif // ifndef LLVM_FALLTHROUGH
34 #endif // #if defined(__cplusplus)
36 #endif // LLDB_LLDB_PRIVATE_DEFINES_H