Skip to content

Commit eeaf686

Browse files
committed
Re-add comment, fix comment
1 parent 31da2c5 commit eeaf686

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/cmake/modules/TableGen.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ function(tablegen project ofn)
9393
list(APPEND LLVM_TABLEGEN_FLAGS "-no-warn-on-unused-template-args")
9494
endif()
9595

96+
# Build the absolute path for the current input file.
9697
if (IS_ABSOLUTE ${LLVM_TARGET_DEFINITIONS})
9798
set(LLVM_TARGET_DEFINITIONS_ABSOLUTE ${LLVM_TARGET_DEFINITIONS})
9899
else()
@@ -108,7 +109,7 @@ function(tablegen project ofn)
108109
" includes: \"${tblgen_includes}\"\n"
109110
)
110111

111-
# Filter out empty items before prepending each entry with -I
112+
# Prepend each include entry with -I for arguments.
112113
list(TRANSFORM tblgen_includes PREPEND -I)
113114

114115
# We need both _TABLEGEN_TARGET and _TABLEGEN_EXE in the DEPENDS list

0 commit comments

Comments
 (0)