[llvm] 4a17ac0 - [test][NFC] Minor formatting and comment adjustments in GetErrcMessages.cmake
Markus Böck via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 16 03:09:04 PDT 2021
Author: Markus Böck
Date: 2021-03-16T11:08:57+01:00
New Revision: 4a17ac0387f078529da02e355a24df99f645d364
URL: https://github.com/llvm/llvm-project/commit/4a17ac0387f078529da02e355a24df99f645d364
DIFF: https://github.com/llvm/llvm-project/commit/4a17ac0387f078529da02e355a24df99f645d364.diff
LOG: [test][NFC] Minor formatting and comment adjustments in GetErrcMessages.cmake
These changes address post-commit review comments discussed in https://reviews.llvm.org/D98278
Added:
Modified:
llvm/cmake/modules/GetErrcMessages.cmake
Removed:
################################################################################
diff --git a/llvm/cmake/modules/GetErrcMessages.cmake b/llvm/cmake/modules/GetErrcMessages.cmake
index 79aa6456cc7e..908b1f538b95 100644
--- a/llvm/cmake/modules/GetErrcMessages.cmake
+++ b/llvm/cmake/modules/GetErrcMessages.cmake
@@ -1,9 +1,8 @@
-
# This function returns the messages of various POSIX error codes as they are returned by std::error_code.
-# The purpose of this function is to supply those error messages to llvm-lit using the errc_messages config
-# Currently supplied and needed error codes: ENOENT, EISDIR, EINVAL and EACCES
-# Messages are semi colon separated
-# Keep amount, order and tested error codes in sync with llvm/utils/lit/lit/llvm/config.py
+# The purpose of this function is to supply those error messages to llvm-lit using the errc_messages config.
+# Currently supplied and needed error codes: ENOENT, EISDIR, EINVAL and EACCES.
+# Messages are semi colon separated.
+# Keep amount, order and tested error codes in sync with llvm/utils/lit/lit/llvm/config.py.
function(get_errc_messages outvar)
set(errc_test_code ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/getErrc.cpp)
More information about the llvm-commits
mailing list