Chelsea Cassanova 8a8ea8fec0
Reland "[lldb][headers] Create Python script to fix up framework head… (#143945)
…ers" (#143941)

Reland the script that converts lldb headers to RPC headers. The RPC
test was failing due to the incorrect input filepath being used.

Original commit message:
This commit replaces the shell script that fixes up includes for the
LLDB framework with a Python script. This script will also be used when
fixing up includes for the LLDBRPC.framework.
2025-06-12 13:55:44 -07:00

14 lines
464 B
C

// This is a truncated version of an SB API file
// used to test framework-header-fix.py to make sure the includes are correctly fixed
// up for the LLDB.framework.
// Local includes must be changed to framework level includes.
// e.g. #include "lldb/API/SBDefines.h" -> #include <LLDB/SBDefines.h>
#include "lldb/API/SBDefines.h"
#include "lldb/API/SBModule.h"
// Any include guards specified at the command line must be removed.
#ifndef SWIG
int a = 10
#endif