Skip to content

Commit 9ba64f9

Browse files
committed
EMCC: Minor: Let's call emscripten and apple patches first
I was thinking that in the future _all_platform_patch might modify things revealed by them
1 parent b9530a4 commit 9ba64f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

refresh.template.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,11 +1062,11 @@ def _get_cpp_command_for_files(compile_action):
10621062
10631063
Undo Bazel-isms and figures out which files clangd should apply the command to.
10641064
"""
1065-
# Patch command by platform
1066-
compile_action.arguments = _all_platform_patch(compile_action.arguments)
1065+
# Patch command by platform, revealing any hidden arguments.
10671066
compile_action.arguments = _apple_platform_patch(compile_action.arguments)
10681067
compile_action.arguments = _emscripten_platform_patch(compile_action.arguments)
10691068
# Android and Linux and grailbio LLVM toolchains: Fine as is; no special patching needed.
1069+
compile_action.arguments = _all_platform_patch(compile_action.arguments)
10701070

10711071
source_files, header_files = _get_files(compile_action)
10721072

0 commit comments

Comments
 (0)