remove __intellisense__

This commit is contained in:
2026-04-27 04:15:33 -04:00
parent 4680a0f3f4
commit 9598004e6d

View File

@@ -309,7 +309,7 @@ def build_compile_commands_from_luprex():
parts = line.split()
if (parts[0] == "g++") and ("-c" in parts):
source = os.path.abspath(os.path.join(INTEGRATION, parts[-1]))
entries.append({ "file": source, "command": line.replace("g++ ", "g++ -D__INTELLISENSE__ ", 1), "directory": INTEGRATION })
entries.append({ "file": source, "command": line, "directory": INTEGRATION })
return entries
@@ -349,7 +349,7 @@ def build_compile_commands_from_integration():
ccdir = f"{UNREALENGINE}/Engine/Source"
for cpp in sorted(cpp_to_rsp.keys()):
rsp = cpp_to_rsp[cpp]
args = [clang, "-D__INTELLISENSE__", "@"+rsp]
args = [clang, "@"+rsp]
entries.append({ "file": cpp, "arguments": args, "directory": ccdir })
return entries