[PATCH] D133613: [clang][cmake] Remove extra brace

2022-09-09 Thread Mohammed Keyvanzadeh via Phabricator via cfe-commits
VoltrexMaster created this revision.
VoltrexMaster added reviewers: phosek, Ericson2314.
Herald added a subscriber: mgorny.
Herald added a project: All.
VoltrexMaster requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Remove the extra trailing brace from the local variable accessor.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133613

Files:
  clang/cmake/modules/AddClang.cmake


Index: clang/cmake/modules/AddClang.cmake
===
--- clang/cmake/modules/AddClang.cmake
+++ clang/cmake/modules/AddClang.cmake
@@ -70,7 +70,7 @@
 ${CLANG_SOURCE_DIR}/include/clang/${lib_path}/*.td
   )
   source_group("TableGen descriptions" FILES ${tds})
-  set_source_files_properties(${tds}} PROPERTIES HEADER_FILE_ONLY ON)
+  set_source_files_properties(${tds} PROPERTIES HEADER_FILE_ONLY ON)
 
   if(headers OR tds)
 set(srcs ${headers} ${tds})


Index: clang/cmake/modules/AddClang.cmake
===
--- clang/cmake/modules/AddClang.cmake
+++ clang/cmake/modules/AddClang.cmake
@@ -70,7 +70,7 @@
 ${CLANG_SOURCE_DIR}/include/clang/${lib_path}/*.td
   )
   source_group("TableGen descriptions" FILES ${tds})
-  set_source_files_properties(${tds}} PROPERTIES HEADER_FILE_ONLY ON)
+  set_source_files_properties(${tds} PROPERTIES HEADER_FILE_ONLY ON)
 
   if(headers OR tds)
 set(srcs ${headers} ${tds})
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[PATCH] D133613: [clang][cmake] Remove extra brace

2022-09-09 Thread Mohammed Keyvanzadeh via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes.
Closed by commit rG467bb47c8418: [clang][cmake] Remove extra brace (authored by 
VoltrexMaster).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133613/new/

https://reviews.llvm.org/D133613

Files:
  clang/cmake/modules/AddClang.cmake


Index: clang/cmake/modules/AddClang.cmake
===
--- clang/cmake/modules/AddClang.cmake
+++ clang/cmake/modules/AddClang.cmake
@@ -70,7 +70,7 @@
 ${CLANG_SOURCE_DIR}/include/clang/${lib_path}/*.td
   )
   source_group("TableGen descriptions" FILES ${tds})
-  set_source_files_properties(${tds}} PROPERTIES HEADER_FILE_ONLY ON)
+  set_source_files_properties(${tds} PROPERTIES HEADER_FILE_ONLY ON)
 
   if(headers OR tds)
 set(srcs ${headers} ${tds})


Index: clang/cmake/modules/AddClang.cmake
===
--- clang/cmake/modules/AddClang.cmake
+++ clang/cmake/modules/AddClang.cmake
@@ -70,7 +70,7 @@
 ${CLANG_SOURCE_DIR}/include/clang/${lib_path}/*.td
   )
   source_group("TableGen descriptions" FILES ${tds})
-  set_source_files_properties(${tds}} PROPERTIES HEADER_FILE_ONLY ON)
+  set_source_files_properties(${tds} PROPERTIES HEADER_FILE_ONLY ON)
 
   if(headers OR tds)
 set(srcs ${headers} ${tds})
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[PATCH] D124147: [clang][cmake] correct grammar and style inconsistency

2022-04-20 Thread Mohammed Keyvanzadeh via Phabricator via cfe-commits
VoltrexMaster created this revision.
Herald added a subscriber: mgorny.
Herald added a project: All.
VoltrexMaster requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.

Correct the grammar of comments, option descriptions and option comments, and 
fix style inconsistencies.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124147

Files:
  clang/CMakeLists.txt

Index: clang/CMakeLists.txt
===
--- clang/CMakeLists.txt
+++ clang/CMakeLists.txt
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 3.13.4)
 
-# If we are not building as a part of LLVM, build Clang as an
+# If we are not building as a part of LLVM, build Clang as a
 # standalone project, using LLVM as an external library:
 if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
   project(Clang)
@@ -11,7 +11,7 @@
 include(GNUInstallDirs)
 
 if(CLANG_BUILT_STANDALONE)
-  set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to")
+  set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to.")
   set(CMAKE_CXX_STANDARD_REQUIRED YES)
   set(CMAKE_CXX_EXTENSIONS NO)
 
@@ -21,7 +21,7 @@
 set (LLVM_CONFIG_FOUND 1)
 message(STATUS "Found LLVM_CONFIG as ${LLVM_CONFIG}")
 message(DEPRECATION "Using llvm-config to detect the LLVM installation is \
-  deprecated.  The installed cmake files should be used \
+  deprecated.  The installed CMake files should be used \
   instead.  CMake should be able to detect your LLVM install \
   automatically, but you can also use LLVM_DIR to specify \
   the path containing LLVMConfig.cmake.")
@@ -65,7 +65,7 @@
 
   if(NOT MSVC_IDE)
 set(LLVM_ENABLE_ASSERTIONS ${ENABLE_ASSERTIONS}
-  CACHE BOOL "Enable assertions")
+  CACHE BOOL "Enable assertions.")
 # Assertions should follow llvm-config's.
 mark_as_advanced(LLVM_ENABLE_ASSERTIONS)
   endif()
@@ -75,7 +75,7 @@
 
   # We can't check LLVM_CONFIG here, because find_package(LLVM ...) also sets
   # LLVM_CONFIG.
-  if (NOT LLVM_CONFIG_FOUND)
+  if(NOT LLVM_CONFIG_FOUND)
 # Pull values from LLVMConfig.cmake.  We can drop this once the llvm-config
 # path is removed.
 set(MAIN_INCLUDE_DIR "${LLVM_INCLUDE_DIR}")
@@ -86,11 +86,11 @@
 set(LIBRARY_DIR "${LLVM_LIBRARY_DIR}")
   endif()
 
-  set(LLVM_MAIN_INCLUDE_DIR "${MAIN_INCLUDE_DIR}" CACHE PATH "Path to llvm/include")
-  set(LLVM_BINARY_DIR "${LLVM_OBJ_ROOT}" CACHE PATH "Path to LLVM build tree")
-  set(LLVM_MAIN_SRC_DIR "${MAIN_SRC_DIR}" CACHE PATH "Path to LLVM source tree")
-  set(LLVM_TOOLS_BINARY_DIR "${TOOLS_BINARY_DIR}" CACHE PATH "Path to llvm/bin")
-  set(LLVM_LIBRARY_DIR "${LIBRARY_DIR}" CACHE PATH "Path to llvm/lib")
+  set(LLVM_MAIN_INCLUDE_DIR "${MAIN_INCLUDE_DIR}" CACHE PATH "Path to llvm/include.")
+  set(LLVM_BINARY_DIR "${LLVM_OBJ_ROOT}" CACHE PATH "Path to LLVM build tree.")
+  set(LLVM_MAIN_SRC_DIR "${MAIN_SRC_DIR}" CACHE PATH "Path to LLVM source tree.")
+  set(LLVM_TOOLS_BINARY_DIR "${TOOLS_BINARY_DIR}" CACHE PATH "Path to llvm/bin.")
+  set(LLVM_LIBRARY_DIR "${LIBRARY_DIR}" CACHE PATH "Path to llvm/lib.")
 
   find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${LLVM_TOOLS_BINARY_DIR}
 NO_DEFAULT_PATH)
@@ -110,7 +110,7 @@
 
   option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
 "Set to ON to force using an old, unsupported host toolchain." OFF)
-  option(CLANG_ENABLE_BOOTSTRAP "Generate the clang bootstrap target" OFF)
+  option(CLANG_ENABLE_BOOTSTRAP "Generate the Clang bootstrap target." OFF)
   option(LLVM_ENABLE_LIBXML2 "Use libxml2 if available." ON)
 
   include(AddLLVM)
@@ -124,16 +124,16 @@
   set(BUG_REPORT_URL "${LLVM_PACKAGE_BUGREPORT}" CACHE STRING
 "Default URL where bug reports are to be submitted.")
 
-  if (NOT DEFINED LLVM_INCLUDE_TESTS)
+  if(NOT DEFINED LLVM_INCLUDE_TESTS)
 set(LLVM_INCLUDE_TESTS ON)
   endif()
 
   include_directories("${LLVM_BINARY_DIR}/include" "${LLVM_MAIN_INCLUDE_DIR}")
   link_directories("${LLVM_LIBRARY_DIR}")
 
-  set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin )
-  set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX} )
-  set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX} )
+  set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
+  set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX})
+  set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX})
 
   if(LLVM_INCLUDE_TESTS)
 find_package(Python3 ${LLVM_MINIMUM_PYTHON_VERSION} REQUIRED
@@ -147,7 +147,7 @@
 endif()
 
 if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
-  # Note: path not really used, except for checking if lit was found
+  # Note: path not really used, except for checking if Lit was found.
   set(LLVM_LIT ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
   if(EXISTS ${LLVM_MAIN_SRC_DI

[PATCH] D124147: [clang][cmake] correct grammar and style inconsistency

2022-05-07 Thread Mohammed Keyvanzadeh via Phabricator via cfe-commits
VoltrexMaster updated this revision to Diff 427862.
VoltrexMaster added a comment.

Rebase and add upstream changes to resolve conflicts.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124147/new/

https://reviews.llvm.org/D124147

Files:
  clang/CMakeLists.txt

Index: clang/CMakeLists.txt
===
--- clang/CMakeLists.txt
+++ clang/CMakeLists.txt
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 3.13.4)
 
-# If we are not building as a part of LLVM, build Clang as an
+# If we are not building as a part of LLVM, build Clang as a
 # standalone project, using LLVM as an external library:
 if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
   project(Clang)
@@ -11,7 +11,7 @@
 include(GNUInstallDirs)
 
 if(CLANG_BUILT_STANDALONE)
-  set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to")
+  set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to.")
   set(CMAKE_CXX_STANDARD_REQUIRED YES)
   set(CMAKE_CXX_EXTENSIONS NO)
 
@@ -21,7 +21,7 @@
 set (LLVM_CONFIG_FOUND 1)
 message(STATUS "Found LLVM_CONFIG as ${LLVM_CONFIG}")
 message(DEPRECATION "Using llvm-config to detect the LLVM installation is \
-  deprecated.  The installed cmake files should be used \
+  deprecated.  The installed CMake files should be used \
   instead.  CMake should be able to detect your LLVM install \
   automatically, but you can also use LLVM_DIR to specify \
   the path containing LLVMConfig.cmake.")
@@ -65,7 +65,7 @@
 
   if(NOT MSVC_IDE)
 set(LLVM_ENABLE_ASSERTIONS ${ENABLE_ASSERTIONS}
-  CACHE BOOL "Enable assertions")
+  CACHE BOOL "Enable assertions.")
 # Assertions should follow llvm-config's.
 mark_as_advanced(LLVM_ENABLE_ASSERTIONS)
   endif()
@@ -75,7 +75,7 @@
 
   # We can't check LLVM_CONFIG here, because find_package(LLVM ...) also sets
   # LLVM_CONFIG.
-  if (NOT LLVM_CONFIG_FOUND)
+  if(NOT LLVM_CONFIG_FOUND)
 # Pull values from LLVMConfig.cmake.  We can drop this once the llvm-config
 # path is removed.
 set(MAIN_INCLUDE_DIR "${LLVM_INCLUDE_DIR}")
@@ -86,11 +86,11 @@
 set(LIBRARY_DIR "${LLVM_LIBRARY_DIR}")
   endif()
 
-  set(LLVM_MAIN_INCLUDE_DIR "${MAIN_INCLUDE_DIR}" CACHE PATH "Path to llvm/include")
-  set(LLVM_BINARY_DIR "${LLVM_OBJ_ROOT}" CACHE PATH "Path to LLVM build tree")
-  set(LLVM_MAIN_SRC_DIR "${MAIN_SRC_DIR}" CACHE PATH "Path to LLVM source tree")
-  set(LLVM_TOOLS_BINARY_DIR "${TOOLS_BINARY_DIR}" CACHE PATH "Path to llvm/bin")
-  set(LLVM_LIBRARY_DIR "${LIBRARY_DIR}" CACHE PATH "Path to llvm/lib")
+  set(LLVM_MAIN_INCLUDE_DIR "${MAIN_INCLUDE_DIR}" CACHE PATH "Path to llvm/include.")
+  set(LLVM_BINARY_DIR "${LLVM_OBJ_ROOT}" CACHE PATH "Path to LLVM build tree.")
+  set(LLVM_MAIN_SRC_DIR "${MAIN_SRC_DIR}" CACHE PATH "Path to LLVM source tree.")
+  set(LLVM_TOOLS_BINARY_DIR "${TOOLS_BINARY_DIR}" CACHE PATH "Path to llvm/bin.")
+  set(LLVM_LIBRARY_DIR "${LIBRARY_DIR}" CACHE PATH "Path to llvm/lib.")
 
   find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${LLVM_TOOLS_BINARY_DIR}
 NO_DEFAULT_PATH)
@@ -110,7 +110,7 @@
 
   option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
 "Set to ON to force using an old, unsupported host toolchain." OFF)
-  option(CLANG_ENABLE_BOOTSTRAP "Generate the clang bootstrap target" OFF)
+  option(CLANG_ENABLE_BOOTSTRAP "Generate the Clang bootstrap target." OFF)
   option(LLVM_ENABLE_LIBXML2 "Use libxml2 if available." ON)
 
   include(AddLLVM)
@@ -124,16 +124,16 @@
   set(BUG_REPORT_URL "${LLVM_PACKAGE_BUGREPORT}" CACHE STRING
 "Default URL where bug reports are to be submitted.")
 
-  if (NOT DEFINED LLVM_INCLUDE_TESTS)
+  if(NOT DEFINED LLVM_INCLUDE_TESTS)
 set(LLVM_INCLUDE_TESTS ON)
   endif()
 
   include_directories("${LLVM_BINARY_DIR}/include" "${LLVM_MAIN_INCLUDE_DIR}")
   link_directories("${LLVM_LIBRARY_DIR}")
 
-  set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin )
-  set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX} )
-  set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX} )
+  set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
+  set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX})
+  set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX})
 
   if(LLVM_INCLUDE_TESTS)
 find_package(Python3 ${LLVM_MINIMUM_PYTHON_VERSION} REQUIRED
@@ -147,7 +147,7 @@
 endif()
 
 if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
-  # Note: path not really used, except for checking if lit was found
+  # Note: path not really used, except for checking if Lit was found.
   set(LLVM_LIT ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
   if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/llvm-lit)
 add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/llvm-lit utils/llvm-lit)
@@ -170,7 +170,7 @@
   find_program(LLVM_LIT
NAMES llvm-lit lit.py lit
   

[PATCH] D124147: [clang][cmake] correct grammar and style inconsistency

2022-05-08 Thread Mohammed Keyvanzadeh via Phabricator via cfe-commits
VoltrexMaster updated this revision to Diff 427959.
VoltrexMaster added a comment.

Rebase and add upstream changes to fix CI.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124147/new/

https://reviews.llvm.org/D124147

Files:
  clang/CMakeLists.txt

Index: clang/CMakeLists.txt
===
--- clang/CMakeLists.txt
+++ clang/CMakeLists.txt
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 3.13.4)
 
-# If we are not building as a part of LLVM, build Clang as an
+# If we are not building as a part of LLVM, build Clang as a
 # standalone project, using LLVM as an external library:
 if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
   project(Clang)
@@ -11,7 +11,7 @@
 include(GNUInstallDirs)
 
 if(CLANG_BUILT_STANDALONE)
-  set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to")
+  set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to.")
   set(CMAKE_CXX_STANDARD_REQUIRED YES)
   set(CMAKE_CXX_EXTENSIONS NO)
 
@@ -21,7 +21,7 @@
 set (LLVM_CONFIG_FOUND 1)
 message(STATUS "Found LLVM_CONFIG as ${LLVM_CONFIG}")
 message(DEPRECATION "Using llvm-config to detect the LLVM installation is \
-  deprecated.  The installed cmake files should be used \
+  deprecated.  The installed CMake files should be used \
   instead.  CMake should be able to detect your LLVM install \
   automatically, but you can also use LLVM_DIR to specify \
   the path containing LLVMConfig.cmake.")
@@ -65,7 +65,7 @@
 
   if(NOT MSVC_IDE)
 set(LLVM_ENABLE_ASSERTIONS ${ENABLE_ASSERTIONS}
-  CACHE BOOL "Enable assertions")
+  CACHE BOOL "Enable assertions.")
 # Assertions should follow llvm-config's.
 mark_as_advanced(LLVM_ENABLE_ASSERTIONS)
   endif()
@@ -75,7 +75,7 @@
 
   # We can't check LLVM_CONFIG here, because find_package(LLVM ...) also sets
   # LLVM_CONFIG.
-  if (NOT LLVM_CONFIG_FOUND)
+  if(NOT LLVM_CONFIG_FOUND)
 # Pull values from LLVMConfig.cmake.  We can drop this once the llvm-config
 # path is removed.
 set(MAIN_INCLUDE_DIR "${LLVM_INCLUDE_DIR}")
@@ -86,11 +86,11 @@
 set(LIBRARY_DIR "${LLVM_LIBRARY_DIR}")
   endif()
 
-  set(LLVM_MAIN_INCLUDE_DIR "${MAIN_INCLUDE_DIR}" CACHE PATH "Path to llvm/include")
-  set(LLVM_BINARY_DIR "${LLVM_OBJ_ROOT}" CACHE PATH "Path to LLVM build tree")
-  set(LLVM_MAIN_SRC_DIR "${MAIN_SRC_DIR}" CACHE PATH "Path to LLVM source tree")
-  set(LLVM_TOOLS_BINARY_DIR "${TOOLS_BINARY_DIR}" CACHE PATH "Path to llvm/bin")
-  set(LLVM_LIBRARY_DIR "${LIBRARY_DIR}" CACHE PATH "Path to llvm/lib")
+  set(LLVM_MAIN_INCLUDE_DIR "${MAIN_INCLUDE_DIR}" CACHE PATH "Path to llvm/include.")
+  set(LLVM_BINARY_DIR "${LLVM_OBJ_ROOT}" CACHE PATH "Path to LLVM build tree.")
+  set(LLVM_MAIN_SRC_DIR "${MAIN_SRC_DIR}" CACHE PATH "Path to LLVM source tree.")
+  set(LLVM_TOOLS_BINARY_DIR "${TOOLS_BINARY_DIR}" CACHE PATH "Path to llvm/bin.")
+  set(LLVM_LIBRARY_DIR "${LIBRARY_DIR}" CACHE PATH "Path to llvm/lib.")
 
   find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${LLVM_TOOLS_BINARY_DIR}
 NO_DEFAULT_PATH)
@@ -110,7 +110,7 @@
 
   option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
 "Set to ON to force using an old, unsupported host toolchain." OFF)
-  option(CLANG_ENABLE_BOOTSTRAP "Generate the clang bootstrap target" OFF)
+  option(CLANG_ENABLE_BOOTSTRAP "Generate the Clang bootstrap target." OFF)
   option(LLVM_ENABLE_LIBXML2 "Use libxml2 if available." ON)
 
   include(AddLLVM)
@@ -124,16 +124,16 @@
   set(BUG_REPORT_URL "${LLVM_PACKAGE_BUGREPORT}" CACHE STRING
 "Default URL where bug reports are to be submitted.")
 
-  if (NOT DEFINED LLVM_INCLUDE_TESTS)
+  if(NOT DEFINED LLVM_INCLUDE_TESTS)
 set(LLVM_INCLUDE_TESTS ON)
   endif()
 
   include_directories("${LLVM_BINARY_DIR}/include" "${LLVM_MAIN_INCLUDE_DIR}")
   link_directories("${LLVM_LIBRARY_DIR}")
 
-  set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin )
-  set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX} )
-  set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX} )
+  set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
+  set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX})
+  set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX})
 
   if(LLVM_INCLUDE_TESTS)
 find_package(Python3 ${LLVM_MINIMUM_PYTHON_VERSION} REQUIRED
@@ -147,7 +147,7 @@
 endif()
 
 if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
-  # Note: path not really used, except for checking if lit was found
+  # Note: path not really used, except for checking if Lit was found.
   set(LLVM_LIT ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
   if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/llvm-lit)
 add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/llvm-lit utils/llvm-lit)
@@ -170,7 +170,7 @@
   find_program(LLVM_LIT
NAMES llvm-lit lit.py lit
PATHS 

[PATCH] D124147: [clang][cmake] correct grammar and style inconsistency

2022-05-09 Thread Mohammed Keyvanzadeh via Phabricator via cfe-commits
VoltrexMaster updated this revision to Diff 428235.
VoltrexMaster added a comment.

Rebase and add upstream changes.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124147/new/

https://reviews.llvm.org/D124147

Files:
  clang/CMakeLists.txt

Index: clang/CMakeLists.txt
===
--- clang/CMakeLists.txt
+++ clang/CMakeLists.txt
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 3.13.4)
 
-# If we are not building as a part of LLVM, build Clang as an
+# If we are not building as a part of LLVM, build Clang as a
 # standalone project, using LLVM as an external library:
 if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
   project(Clang)
@@ -11,7 +11,7 @@
 include(GNUInstallDirs)
 
 if(CLANG_BUILT_STANDALONE)
-  set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to")
+  set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to.")
   set(CMAKE_CXX_STANDARD_REQUIRED YES)
   set(CMAKE_CXX_EXTENSIONS NO)
 
@@ -21,7 +21,7 @@
 set (LLVM_CONFIG_FOUND 1)
 message(STATUS "Found LLVM_CONFIG as ${LLVM_CONFIG}")
 message(DEPRECATION "Using llvm-config to detect the LLVM installation is \
-  deprecated.  The installed cmake files should be used \
+  deprecated.  The installed CMake files should be used \
   instead.  CMake should be able to detect your LLVM install \
   automatically, but you can also use LLVM_DIR to specify \
   the path containing LLVMConfig.cmake.")
@@ -65,7 +65,7 @@
 
   if(NOT MSVC_IDE)
 set(LLVM_ENABLE_ASSERTIONS ${ENABLE_ASSERTIONS}
-  CACHE BOOL "Enable assertions")
+  CACHE BOOL "Enable assertions.")
 # Assertions should follow llvm-config's.
 mark_as_advanced(LLVM_ENABLE_ASSERTIONS)
   endif()
@@ -75,7 +75,7 @@
 
   # We can't check LLVM_CONFIG here, because find_package(LLVM ...) also sets
   # LLVM_CONFIG.
-  if (NOT LLVM_CONFIG_FOUND)
+  if(NOT LLVM_CONFIG_FOUND)
 # Pull values from LLVMConfig.cmake.  We can drop this once the llvm-config
 # path is removed.
 set(MAIN_INCLUDE_DIR "${LLVM_INCLUDE_DIR}")
@@ -86,11 +86,11 @@
 set(LIBRARY_DIR "${LLVM_LIBRARY_DIR}")
   endif()
 
-  set(LLVM_MAIN_INCLUDE_DIR "${MAIN_INCLUDE_DIR}" CACHE PATH "Path to llvm/include")
-  set(LLVM_BINARY_DIR "${LLVM_OBJ_ROOT}" CACHE PATH "Path to LLVM build tree")
-  set(LLVM_MAIN_SRC_DIR "${MAIN_SRC_DIR}" CACHE PATH "Path to LLVM source tree")
-  set(LLVM_TOOLS_BINARY_DIR "${TOOLS_BINARY_DIR}" CACHE PATH "Path to llvm/bin")
-  set(LLVM_LIBRARY_DIR "${LIBRARY_DIR}" CACHE PATH "Path to llvm/lib")
+  set(LLVM_MAIN_INCLUDE_DIR "${MAIN_INCLUDE_DIR}" CACHE PATH "Path to llvm/include.")
+  set(LLVM_BINARY_DIR "${LLVM_OBJ_ROOT}" CACHE PATH "Path to LLVM build tree.")
+  set(LLVM_MAIN_SRC_DIR "${MAIN_SRC_DIR}" CACHE PATH "Path to LLVM source tree.")
+  set(LLVM_TOOLS_BINARY_DIR "${TOOLS_BINARY_DIR}" CACHE PATH "Path to llvm/bin.")
+  set(LLVM_LIBRARY_DIR "${LIBRARY_DIR}" CACHE PATH "Path to llvm/lib.")
 
   find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${LLVM_TOOLS_BINARY_DIR}
 NO_DEFAULT_PATH)
@@ -110,7 +110,7 @@
 
   option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
 "Set to ON to force using an old, unsupported host toolchain." OFF)
-  option(CLANG_ENABLE_BOOTSTRAP "Generate the clang bootstrap target" OFF)
+  option(CLANG_ENABLE_BOOTSTRAP "Generate the Clang bootstrap target." OFF)
   option(LLVM_ENABLE_LIBXML2 "Use libxml2 if available." ON)
 
   include(AddLLVM)
@@ -124,16 +124,16 @@
   set(BUG_REPORT_URL "${LLVM_PACKAGE_BUGREPORT}" CACHE STRING
 "Default URL where bug reports are to be submitted.")
 
-  if (NOT DEFINED LLVM_INCLUDE_TESTS)
+  if(NOT DEFINED LLVM_INCLUDE_TESTS)
 set(LLVM_INCLUDE_TESTS ON)
   endif()
 
   include_directories("${LLVM_BINARY_DIR}/include" "${LLVM_MAIN_INCLUDE_DIR}")
   link_directories("${LLVM_LIBRARY_DIR}")
 
-  set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin )
-  set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX} )
-  set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX} )
+  set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
+  set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX})
+  set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX})
 
   if(LLVM_INCLUDE_TESTS)
 find_package(Python3 ${LLVM_MINIMUM_PYTHON_VERSION} REQUIRED
@@ -147,7 +147,7 @@
 endif()
 
 if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
-  # Note: path not really used, except for checking if lit was found
+  # Note: path not really used, except for checking if Lit was found.
   set(LLVM_LIT ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
   if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/llvm-lit)
 add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/llvm-lit utils/llvm-lit)
@@ -170,7 +170,7 @@
   find_program(LLVM_LIT
NAMES llvm-lit lit.py lit
PATHS "${LLVM_MA

[PATCH] D150579: [*]: fix syntax errors in HTML files

2023-05-20 Thread Mohammed Keyvanzadeh via Phabricator via cfe-commits
VoltrexMaster updated this revision to Diff 524033.
VoltrexMaster added a comment.

Fix merge conflict with upstream changes


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150579/new/

https://reviews.llvm.org/D150579

Files:
  clang-tools-extra/docs/_templates/clangd_redirect.html
  clang/docs/LibASTMatchersReference.html
  clang/www/OpenProjects.html
  clang/www/analyzer/alpha_checks.html
  clang/www/analyzer/available_checks.html
  clang/www/analyzer/checker_dev_manual.html
  clang/www/analyzer/codechecker.html
  clang/www/analyzer/command-line.html
  clang/www/analyzer/faq.html
  clang/www/analyzer/implicit_checks.html
  clang/www/analyzer/open_projects.html
  clang/www/analyzer/potential_checkers.html
  clang/www/analyzer/release_notes.html
  clang/www/analyzer/scan-build.html
  clang/www/c_dr_status.html
  clang/www/c_status.html
  clang/www/compatibility.html
  clang/www/cxx_status.html
  clang/www/diagnostics.html
  compiler-rt/www/index.html
  libclc/www/index.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-compressed.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-sample.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-skipped.html
  llvm/test/tools/opt-viewer/Outputs/basic/basic_or.c.html
  llvm/test/tools/opt-viewer/Outputs/basic/basic_or.h.html
  llvm/test/tools/opt-viewer/Outputs/basic/index.html
  llvm/test/tools/opt-viewer/Outputs/filter/basic_or.c.html
  llvm/test/tools/opt-viewer/Outputs/filter/basic_or.h.html
  llvm/test/tools/opt-viewer/Outputs/filter/index.html
  llvm/test/tools/opt-viewer/Outputs/suppress/index.html
  llvm/test/tools/opt-viewer/Outputs/suppress/s.swift.html
  llvm/test/tools/opt-viewer/Outputs/unicode-function-name/index.html
  llvm/test/tools/opt-viewer/Outputs/unicode-function-name/s.swift.html
  llvm/tools/opt-viewer/opt-viewer.py
  llvm/utils/llvm-original-di-preservation.py
  polly/www/changelog.html
  polly/www/get_started.html
  polly/www/index.html
  polly/www/publications.html
  polly/www/todo.html

Index: polly/www/todo.html
===
--- polly/www/todo.html
+++ polly/www/todo.html
@@ -24,7 +24,7 @@
 Phase 1 - Get Something Working (Finished October 2010)
 
 
- Individual Phases
+ Individual Phases
 
  Phase 4
 
@@ -43,6 +43,7 @@
 
 
 
+
      - Add isl C++ bindings generator to isl
  Open
 
@@ -60,6 +61,7 @@
 
 
 
+
      - Optimize isl_int for small integers
  Done
 
@@ -71,6 +73,7 @@
 
 
 
+
      - Reconsider pass-ordering (move Polly later)
  Open
 
@@ -182,7 +185,7 @@
 integer wrapping
  Done
  Johannes
-
 
  
  Optimize Julia
@@ -194,6 +197,7 @@
Owner 
 
 
+
 
 Integrate Polly into Julia
  Open
@@ -211,6 +215,7 @@
 
 
 
+
      - Actually eliminate statements
  Done
 
@@ -226,6 +231,7 @@
Owner 
 
 
+
 
 Multi-level tiling
  Open
@@ -243,6 +249,7 @@
  Done
 
 
+
 
 Loop interchange after vectorization to maximize stride-one accesses
  Open
@@ -431,7 +438,7 @@
 
  Tobias, Andreas
 
-
+
 
 
 
@@ -553,36 +560,37 @@
Owner 
 
 
+
  Region detection
- Done
+ Done
 Ether
 
 
  Access Functions
- Done
+ Done
 John, Ether
 
 
  Alias sets
- Done
+ Done
 Ether
 
 
  Scalar evolution to affine expression
- Done
+ Done
 
 
 Ether
 
 
  SCoP extraction
- Done
+ Done
 Tobias, Ether
 
 
 
  SCoPs to polyhedral model
- Done
+ Done
 Tobias, Ether
 
  
@@ -594,7 +602,7 @@
 
 
  Define polyhedral description
- Done
+ Done
 Tobias
 
 
@@ -607,7 +615,7 @@
 
 
  Create LLVM-IR using CLooG
- Done
+ Done
  Tobias
 
 
@@ -621,12 +629,12 @@
 
  Setup git repositories
 
- Done
+ Done
  Tobias
 
 
  Add CLooG/isl to build system
- Done
+ Done
  Tobias
 
 
Index: polly/www/publications.html
===
--- polly/www/publications.html
+++ polly/www/publications.html
@@ -183,7 +183,7 @@
   Muthu Manikandan Baskaran, J. Ramanujam and P. Sadayappan
   CC 2010
   
-  Putting Automatic Polyhedral Compilation for GPGPU to Work
+  Putting Automatic Polyhedral Compilation for GPGPU to Work
   Soufiane Baghdadi, Armin Größlinger, and Albert Cohen. 
   In Proc. of Compilers for Parallel Computers (CPC), 2010.
   
Index: polly/www/index.html
===
--- polly/www/index.html
+++ polly/www/index.html
@@ -57,6 +57,7 @@
 The performance evaluation of GEMM
 
   
+  
   2017
   January
   
@@ -95,23 +96,23 @@
   Schedule trees: A tree-based mathematical program description
   that enables us to perform loop transformations on an abstract level,
   while issues like the generation of the correct loop structure and loop
-  bounds will be taken care of by our AST generator.
+  bounds will be taken care of by our AST generator.
   Polyhedral unrolling: We discuss techniques that allow the
   unrolling of non-trivial loops in the context of parameteric loop bounds,
   compl

[PATCH] D150579: [*]: fix syntax errors in HTML files

2023-05-28 Thread Mohammed Keyvanzadeh via Phabricator via cfe-commits
VoltrexMaster updated this revision to Diff 526316.
VoltrexMaster added a comment.

Pull upstream changes to fix build failures


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150579/new/

https://reviews.llvm.org/D150579

Files:
  clang-tools-extra/docs/_templates/clangd_redirect.html
  clang/docs/LibASTMatchersReference.html
  clang/www/OpenProjects.html
  clang/www/analyzer/alpha_checks.html
  clang/www/analyzer/available_checks.html
  clang/www/analyzer/checker_dev_manual.html
  clang/www/analyzer/codechecker.html
  clang/www/analyzer/command-line.html
  clang/www/analyzer/faq.html
  clang/www/analyzer/implicit_checks.html
  clang/www/analyzer/open_projects.html
  clang/www/analyzer/potential_checkers.html
  clang/www/analyzer/release_notes.html
  clang/www/analyzer/scan-build.html
  clang/www/c_dr_status.html
  clang/www/c_status.html
  clang/www/compatibility.html
  clang/www/cxx_status.html
  clang/www/diagnostics.html
  compiler-rt/www/index.html
  libclc/www/index.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-compressed.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-sample.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-skipped.html
  llvm/test/tools/opt-viewer/Outputs/basic/basic_or.c.html
  llvm/test/tools/opt-viewer/Outputs/basic/basic_or.h.html
  llvm/test/tools/opt-viewer/Outputs/basic/index.html
  llvm/test/tools/opt-viewer/Outputs/filter/basic_or.c.html
  llvm/test/tools/opt-viewer/Outputs/filter/basic_or.h.html
  llvm/test/tools/opt-viewer/Outputs/filter/index.html
  llvm/test/tools/opt-viewer/Outputs/suppress/index.html
  llvm/test/tools/opt-viewer/Outputs/suppress/s.swift.html
  llvm/test/tools/opt-viewer/Outputs/unicode-function-name/index.html
  llvm/test/tools/opt-viewer/Outputs/unicode-function-name/s.swift.html
  llvm/tools/opt-viewer/opt-viewer.py
  llvm/utils/llvm-original-di-preservation.py
  polly/www/changelog.html
  polly/www/get_started.html
  polly/www/index.html
  polly/www/publications.html
  polly/www/todo.html

Index: polly/www/todo.html
===
--- polly/www/todo.html
+++ polly/www/todo.html
@@ -24,7 +24,7 @@
 Phase 1 - Get Something Working (Finished October 2010)
 
 
- Individual Phases
+ Individual Phases
 
  Phase 4
 
@@ -43,6 +43,7 @@
 
 
 
+
      - Add isl C++ bindings generator to isl
  Open
 
@@ -60,6 +61,7 @@
 
 
 
+
      - Optimize isl_int for small integers
  Done
 
@@ -71,6 +73,7 @@
 
 
 
+
      - Reconsider pass-ordering (move Polly later)
  Open
 
@@ -182,7 +185,7 @@
 integer wrapping
  Done
  Johannes
-
 
  
  Optimize Julia
@@ -194,6 +197,7 @@
Owner 
 
 
+
 
 Integrate Polly into Julia
  Open
@@ -211,6 +215,7 @@
 
 
 
+
      - Actually eliminate statements
  Done
 
@@ -226,6 +231,7 @@
Owner 
 
 
+
 
 Multi-level tiling
  Open
@@ -243,6 +249,7 @@
  Done
 
 
+
 
 Loop interchange after vectorization to maximize stride-one accesses
  Open
@@ -431,7 +438,7 @@
 
  Tobias, Andreas
 
-
+
 
 
 
@@ -553,36 +560,37 @@
Owner 
 
 
+
  Region detection
- Done
+ Done
 Ether
 
 
  Access Functions
- Done
+ Done
 John, Ether
 
 
  Alias sets
- Done
+ Done
 Ether
 
 
  Scalar evolution to affine expression
- Done
+ Done
 
 
 Ether
 
 
  SCoP extraction
- Done
+ Done
 Tobias, Ether
 
 
 
  SCoPs to polyhedral model
- Done
+ Done
 Tobias, Ether
 
  
@@ -594,7 +602,7 @@
 
 
  Define polyhedral description
- Done
+ Done
 Tobias
 
 
@@ -607,7 +615,7 @@
 
 
  Create LLVM-IR using CLooG
- Done
+ Done
  Tobias
 
 
@@ -621,12 +629,12 @@
 
  Setup git repositories
 
- Done
+ Done
  Tobias
 
 
  Add CLooG/isl to build system
- Done
+ Done
  Tobias
 
 
Index: polly/www/publications.html
===
--- polly/www/publications.html
+++ polly/www/publications.html
@@ -183,7 +183,7 @@
   Muthu Manikandan Baskaran, J. Ramanujam and P. Sadayappan
   CC 2010
   
-  Putting Automatic Polyhedral Compilation for GPGPU to Work
+  Putting Automatic Polyhedral Compilation for GPGPU to Work
   Soufiane Baghdadi, Armin Größlinger, and Albert Cohen. 
   In Proc. of Compilers for Parallel Computers (CPC), 2010.
   
Index: polly/www/index.html
===
--- polly/www/index.html
+++ polly/www/index.html
@@ -57,6 +57,7 @@
 The performance evaluation of GEMM
 
   
+  
   2017
   January
   
@@ -95,23 +96,23 @@
   Schedule trees: A tree-based mathematical program description
   that enables us to perform loop transformations on an abstract level,
   while issues like the generation of the correct loop structure and loop
-  bounds will be taken care of by our AST generator.
+  bounds will be taken care of by our AST generator.
   Polyhedral unrolling: We discuss techniques that allow the
   unrolling of non-trivial loops in the context of parameteric loop bounds,
   co

[PATCH] D150579: [*]: fix syntax errors in HTML files

2023-05-28 Thread Mohammed Keyvanzadeh via Phabricator via cfe-commits
VoltrexMaster added a comment.

Does anyone know how to change the utils/tools to generate HTML with correct 
syntax? I tried but there are test failures caused by them.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150579/new/

https://reviews.llvm.org/D150579

___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[PATCH] D150579: [*]: fix syntax errors in HTML files

2023-05-15 Thread Mohammed Keyvanzadeh via Phabricator via cfe-commits
VoltrexMaster created this revision.
VoltrexMaster added reviewers: Amir, samsonov, STL_MSFT, jordan_rose, rsmith.
Herald added a reviewer: bollu.
Herald added subscribers: Enna1, wenlei, jvesely, arphaman.
Herald added a project: All.
VoltrexMaster requested review of this revision.
Herald added projects: clang, Sanitizers, LLVM, clang-tools-extra.
Herald added subscribers: cfe-commits, llvm-commits, Sanitizers.

Fix many syntax errors in all HTML files in the project.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150579

Files:
  clang-tools-extra/docs/_templates/clangd_redirect.html
  clang/docs/LibASTMatchersReference.html
  clang/www/OpenProjects.html
  clang/www/analyzer/alpha_checks.html
  clang/www/analyzer/available_checks.html
  clang/www/analyzer/checker_dev_manual.html
  clang/www/analyzer/codechecker.html
  clang/www/analyzer/command-line.html
  clang/www/analyzer/faq.html
  clang/www/analyzer/implicit_checks.html
  clang/www/analyzer/open_projects.html
  clang/www/analyzer/potential_checkers.html
  clang/www/analyzer/release_notes.html
  clang/www/analyzer/scan-build.html
  clang/www/c_dr_status.html
  clang/www/c_status.html
  clang/www/compatibility.html
  clang/www/cxx_status.html
  clang/www/diagnostics.html
  compiler-rt/www/index.html
  libclc/www/index.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-compressed.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-sample.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-skipped.html
  llvm/test/tools/opt-viewer/Outputs/basic/basic_or.c.html
  llvm/test/tools/opt-viewer/Outputs/basic/basic_or.h.html
  llvm/test/tools/opt-viewer/Outputs/basic/index.html
  llvm/test/tools/opt-viewer/Outputs/filter/basic_or.c.html
  llvm/test/tools/opt-viewer/Outputs/filter/basic_or.h.html
  llvm/test/tools/opt-viewer/Outputs/filter/index.html
  llvm/test/tools/opt-viewer/Outputs/suppress/index.html
  llvm/test/tools/opt-viewer/Outputs/suppress/s.swift.html
  llvm/test/tools/opt-viewer/Outputs/unicode-function-name/index.html
  llvm/test/tools/opt-viewer/Outputs/unicode-function-name/s.swift.html
  polly/www/changelog.html
  polly/www/get_started.html
  polly/www/index.html
  polly/www/publications.html
  polly/www/todo.html

Index: polly/www/todo.html
===
--- polly/www/todo.html
+++ polly/www/todo.html
@@ -24,7 +24,7 @@
 Phase 1 - Get Something Working (Finished October 2010)
 
 
- Individual Phases
+ Individual Phases
 
  Phase 4
 
@@ -43,6 +43,7 @@
 
 
 
+
      - Add isl C++ bindings generator to isl
  Open
 
@@ -60,6 +61,7 @@
 
 
 
+
      - Optimize isl_int for small integers
  Done
 
@@ -71,6 +73,7 @@
 
 
 
+
      - Reconsider pass-ordering (move Polly later)
  Open
 
@@ -182,7 +185,7 @@
 integer wrapping
  Done
  Johannes
-
 
  
  Optimize Julia
@@ -194,6 +197,7 @@
Owner 
 
 
+
 
 Integrate Polly into Julia
  Open
@@ -211,6 +215,7 @@
 
 
 
+
      - Actually eliminate statements
  Done
 
@@ -226,6 +231,7 @@
Owner 
 
 
+
 
 Multi-level tiling
  Open
@@ -243,6 +249,7 @@
  Done
 
 
+
 
 Loop interchange after vectorization to maximize stride-one accesses
  Open
@@ -431,7 +438,7 @@
 
  Tobias, Andreas
 
-
+
 
 
 
@@ -553,36 +560,37 @@
Owner 
 
 
+
  Region detection
- Done
+ Done
 Ether
 
 
  Access Functions
- Done
+ Done
 John, Ether
 
 
  Alias sets
- Done
+ Done
 Ether
 
 
  Scalar evolution to affine expression
- Done
+ Done
 
 
 Ether
 
 
  SCoP extraction
- Done
+ Done
 Tobias, Ether
 
 
 
  SCoPs to polyhedral model
- Done
+ Done
 Tobias, Ether
 
  
@@ -594,7 +602,7 @@
 
 
  Define polyhedral description
- Done
+ Done
 Tobias
 
 
@@ -607,7 +615,7 @@
 
 
  Create LLVM-IR using CLooG
- Done
+ Done
  Tobias
 
 
@@ -621,12 +629,12 @@
 
  Setup git repositories
 
- Done
+ Done
  Tobias
 
 
  Add CLooG/isl to build system
- Done
+ Done
  Tobias
 
 
Index: polly/www/publications.html
===
--- polly/www/publications.html
+++ polly/www/publications.html
@@ -183,7 +183,7 @@
   Muthu Manikandan Baskaran, J. Ramanujam and P. Sadayappan
   CC 2010
   
-  Putting Automatic Polyhedral Compilation for GPGPU to Work
+  Putting Automatic Polyhedral Compilation for GPGPU to Work
   Soufiane Baghdadi, Armin Größlinger, and Albert Cohen. 
   In Proc. of Compilers for Parallel Computers (CPC), 2010.
   
Index: polly/www/index.html
===
--- polly/www/index.html
+++ polly/www/index.html
@@ -57,6 +57,7 @@
 The performance evaluation of GEMM
 
   
+  
   2017
   January
   
@@ -95,23 +96,23 @@
   Schedule trees: A tree-based mathematical program description
   that enables us to perform loop transformations on an abstract level,
   while issues like the generation of the correct loop structure and loop
-  bounds will be taken care of by our AST generator.
+  bounds will

[PATCH] D150579: [*]: fix syntax errors in HTML files

2023-05-16 Thread Mohammed Keyvanzadeh via Phabricator via cfe-commits
VoltrexMaster updated this revision to Diff 522507.
VoltrexMaster added a comment.

Fix merge conflict


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150579/new/

https://reviews.llvm.org/D150579

Files:
  clang-tools-extra/docs/_templates/clangd_redirect.html
  clang/docs/LibASTMatchersReference.html
  clang/www/OpenProjects.html
  clang/www/analyzer/alpha_checks.html
  clang/www/analyzer/available_checks.html
  clang/www/analyzer/checker_dev_manual.html
  clang/www/analyzer/codechecker.html
  clang/www/analyzer/command-line.html
  clang/www/analyzer/faq.html
  clang/www/analyzer/implicit_checks.html
  clang/www/analyzer/open_projects.html
  clang/www/analyzer/potential_checkers.html
  clang/www/analyzer/release_notes.html
  clang/www/analyzer/scan-build.html
  clang/www/c_dr_status.html
  clang/www/c_status.html
  clang/www/compatibility.html
  clang/www/cxx_status.html
  clang/www/diagnostics.html
  compiler-rt/www/index.html
  libclc/www/index.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-compressed.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-sample.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-skipped.html
  llvm/test/tools/opt-viewer/Outputs/basic/basic_or.c.html
  llvm/test/tools/opt-viewer/Outputs/basic/basic_or.h.html
  llvm/test/tools/opt-viewer/Outputs/basic/index.html
  llvm/test/tools/opt-viewer/Outputs/filter/basic_or.c.html
  llvm/test/tools/opt-viewer/Outputs/filter/basic_or.h.html
  llvm/test/tools/opt-viewer/Outputs/filter/index.html
  llvm/test/tools/opt-viewer/Outputs/suppress/index.html
  llvm/test/tools/opt-viewer/Outputs/suppress/s.swift.html
  llvm/test/tools/opt-viewer/Outputs/unicode-function-name/index.html
  llvm/test/tools/opt-viewer/Outputs/unicode-function-name/s.swift.html
  polly/www/changelog.html
  polly/www/get_started.html
  polly/www/index.html
  polly/www/publications.html
  polly/www/todo.html

Index: polly/www/todo.html
===
--- polly/www/todo.html
+++ polly/www/todo.html
@@ -24,7 +24,7 @@
 Phase 1 - Get Something Working (Finished October 2010)
 
 
- Individual Phases
+ Individual Phases
 
  Phase 4
 
@@ -43,6 +43,7 @@
 
 
 
+
      - Add isl C++ bindings generator to isl
  Open
 
@@ -60,6 +61,7 @@
 
 
 
+
      - Optimize isl_int for small integers
  Done
 
@@ -71,6 +73,7 @@
 
 
 
+
      - Reconsider pass-ordering (move Polly later)
  Open
 
@@ -182,7 +185,7 @@
 integer wrapping
  Done
  Johannes
-
 
  
  Optimize Julia
@@ -194,6 +197,7 @@
Owner 
 
 
+
 
 Integrate Polly into Julia
  Open
@@ -211,6 +215,7 @@
 
 
 
+
      - Actually eliminate statements
  Done
 
@@ -226,6 +231,7 @@
Owner 
 
 
+
 
 Multi-level tiling
  Open
@@ -243,6 +249,7 @@
  Done
 
 
+
 
 Loop interchange after vectorization to maximize stride-one accesses
  Open
@@ -431,7 +438,7 @@
 
  Tobias, Andreas
 
-
+
 
 
 
@@ -553,36 +560,37 @@
Owner 
 
 
+
  Region detection
- Done
+ Done
 Ether
 
 
  Access Functions
- Done
+ Done
 John, Ether
 
 
  Alias sets
- Done
+ Done
 Ether
 
 
  Scalar evolution to affine expression
- Done
+ Done
 
 
 Ether
 
 
  SCoP extraction
- Done
+ Done
 Tobias, Ether
 
 
 
  SCoPs to polyhedral model
- Done
+ Done
 Tobias, Ether
 
  
@@ -594,7 +602,7 @@
 
 
  Define polyhedral description
- Done
+ Done
 Tobias
 
 
@@ -607,7 +615,7 @@
 
 
  Create LLVM-IR using CLooG
- Done
+ Done
  Tobias
 
 
@@ -621,12 +629,12 @@
 
  Setup git repositories
 
- Done
+ Done
  Tobias
 
 
  Add CLooG/isl to build system
- Done
+ Done
  Tobias
 
 
Index: polly/www/publications.html
===
--- polly/www/publications.html
+++ polly/www/publications.html
@@ -183,7 +183,7 @@
   Muthu Manikandan Baskaran, J. Ramanujam and P. Sadayappan
   CC 2010
   
-  Putting Automatic Polyhedral Compilation for GPGPU to Work
+  Putting Automatic Polyhedral Compilation for GPGPU to Work
   Soufiane Baghdadi, Armin Größlinger, and Albert Cohen. 
   In Proc. of Compilers for Parallel Computers (CPC), 2010.
   
Index: polly/www/index.html
===
--- polly/www/index.html
+++ polly/www/index.html
@@ -57,6 +57,7 @@
 The performance evaluation of GEMM
 
   
+  
   2017
   January
   
@@ -95,23 +96,23 @@
   Schedule trees: A tree-based mathematical program description
   that enables us to perform loop transformations on an abstract level,
   while issues like the generation of the correct loop structure and loop
-  bounds will be taken care of by our AST generator.
+  bounds will be taken care of by our AST generator.
   Polyhedral unrolling: We discuss techniques that allow the
   unrolling of non-trivial loops in the context of parameteric loop bounds,
   complex tile shapes and conditionally executed statements. Such unrolling
   support enables the generation

[PATCH] D150579: [*]: fix syntax errors in HTML files

2023-05-16 Thread Mohammed Keyvanzadeh via Phabricator via cfe-commits
VoltrexMaster updated this revision to Diff 522588.
VoltrexMaster added a comment.

Update utils/tools to generate HTML with correct syntax


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150579/new/

https://reviews.llvm.org/D150579

Files:
  clang-tools-extra/docs/_templates/clangd_redirect.html
  clang/docs/LibASTMatchersReference.html
  clang/www/OpenProjects.html
  clang/www/analyzer/alpha_checks.html
  clang/www/analyzer/available_checks.html
  clang/www/analyzer/checker_dev_manual.html
  clang/www/analyzer/codechecker.html
  clang/www/analyzer/command-line.html
  clang/www/analyzer/faq.html
  clang/www/analyzer/implicit_checks.html
  clang/www/analyzer/open_projects.html
  clang/www/analyzer/potential_checkers.html
  clang/www/analyzer/release_notes.html
  clang/www/analyzer/scan-build.html
  clang/www/c_dr_status.html
  clang/www/c_status.html
  clang/www/compatibility.html
  clang/www/cxx_status.html
  clang/www/diagnostics.html
  compiler-rt/www/index.html
  libclc/www/index.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-compressed.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-sample.html
  llvm/test/tools/llvm-original-di-preservation/Inputs/expected-skipped.html
  llvm/test/tools/opt-viewer/Outputs/basic/basic_or.c.html
  llvm/test/tools/opt-viewer/Outputs/basic/basic_or.h.html
  llvm/test/tools/opt-viewer/Outputs/basic/index.html
  llvm/test/tools/opt-viewer/Outputs/filter/basic_or.c.html
  llvm/test/tools/opt-viewer/Outputs/filter/basic_or.h.html
  llvm/test/tools/opt-viewer/Outputs/filter/index.html
  llvm/test/tools/opt-viewer/Outputs/suppress/index.html
  llvm/test/tools/opt-viewer/Outputs/suppress/s.swift.html
  llvm/test/tools/opt-viewer/Outputs/unicode-function-name/index.html
  llvm/test/tools/opt-viewer/Outputs/unicode-function-name/s.swift.html
  llvm/tools/opt-viewer/opt-viewer.py
  llvm/utils/llvm-original-di-preservation.py
  polly/www/changelog.html
  polly/www/get_started.html
  polly/www/index.html
  polly/www/publications.html
  polly/www/todo.html

Index: polly/www/todo.html
===
--- polly/www/todo.html
+++ polly/www/todo.html
@@ -24,7 +24,7 @@
 Phase 1 - Get Something Working (Finished October 2010)
 
 
- Individual Phases
+ Individual Phases
 
  Phase 4
 
@@ -43,6 +43,7 @@
 
 
 
+
      - Add isl C++ bindings generator to isl
  Open
 
@@ -60,6 +61,7 @@
 
 
 
+
      - Optimize isl_int for small integers
  Done
 
@@ -71,6 +73,7 @@
 
 
 
+
      - Reconsider pass-ordering (move Polly later)
  Open
 
@@ -182,7 +185,7 @@
 integer wrapping
  Done
  Johannes
-
 
  
  Optimize Julia
@@ -194,6 +197,7 @@
Owner 
 
 
+
 
 Integrate Polly into Julia
  Open
@@ -211,6 +215,7 @@
 
 
 
+
      - Actually eliminate statements
  Done
 
@@ -226,6 +231,7 @@
Owner 
 
 
+
 
 Multi-level tiling
  Open
@@ -243,6 +249,7 @@
  Done
 
 
+
 
 Loop interchange after vectorization to maximize stride-one accesses
  Open
@@ -431,7 +438,7 @@
 
  Tobias, Andreas
 
-
+
 
 
 
@@ -553,36 +560,37 @@
Owner 
 
 
+
  Region detection
- Done
+ Done
 Ether
 
 
  Access Functions
- Done
+ Done
 John, Ether
 
 
  Alias sets
- Done
+ Done
 Ether
 
 
  Scalar evolution to affine expression
- Done
+ Done
 
 
 Ether
 
 
  SCoP extraction
- Done
+ Done
 Tobias, Ether
 
 
 
  SCoPs to polyhedral model
- Done
+ Done
 Tobias, Ether
 
  
@@ -594,7 +602,7 @@
 
 
  Define polyhedral description
- Done
+ Done
 Tobias
 
 
@@ -607,7 +615,7 @@
 
 
  Create LLVM-IR using CLooG
- Done
+ Done
  Tobias
 
 
@@ -621,12 +629,12 @@
 
  Setup git repositories
 
- Done
+ Done
  Tobias
 
 
  Add CLooG/isl to build system
- Done
+ Done
  Tobias
 
 
Index: polly/www/publications.html
===
--- polly/www/publications.html
+++ polly/www/publications.html
@@ -183,7 +183,7 @@
   Muthu Manikandan Baskaran, J. Ramanujam and P. Sadayappan
   CC 2010
   
-  Putting Automatic Polyhedral Compilation for GPGPU to Work
+  Putting Automatic Polyhedral Compilation for GPGPU to Work
   Soufiane Baghdadi, Armin Größlinger, and Albert Cohen. 
   In Proc. of Compilers for Parallel Computers (CPC), 2010.
   
Index: polly/www/index.html
===
--- polly/www/index.html
+++ polly/www/index.html
@@ -57,6 +57,7 @@
 The performance evaluation of GEMM
 
   
+  
   2017
   January
   
@@ -95,23 +96,23 @@
   Schedule trees: A tree-based mathematical program description
   that enables us to perform loop transformations on an abstract level,
   while issues like the generation of the correct loop structure and loop
-  bounds will be taken care of by our AST generator.
+  bounds will be taken care of by our AST generator.
   Polyhedral unrolling: We discuss techniques that allow the
   unrolling of non-trivial loops in the context of parameteric loop bound