21 lines · c
1// This is a truncated version of lldb-enumerations.h used to test that the script2// convert-lldb-header-to-rpc-header.py works correctly. The script changes LLDB references in3// the original file to RPC references.4 5// The include guard should change from LLDB_LLDB to LLDB_RPC.6// LLDB_LLDB_ENUMERATIONS_H -> LLDB_RPC_ENUMERATIONS_H7#ifndef LLDB_LLDB_ENUMERATIONS_H8#define LLDB_LLDB_ENUMERATIONS_H9 10// The namespace definition should change to the lldb_rpc namespace, so should the comment that closes it:11// namespace lldb -> namespace lldb_rpc12namespace lldb {} // namespace lldb13 14// When the lldb namespace is used, the namespace must be replaced with lldb_rpc.15void dummyFunction(lldb::addr_t) {}16 17// The comment that closes the include guard must change in the same way18// the original guard did:19// #endif // LLDB_LLDB_ENUMERATIONS_H -> #endif // LLDB_RPC_ENUMERATIONS_H20#endif // LLDB_LLDB_ENUMERATIONS_H21