summaryrefslogtreecommitdiff
path: root/Modules/CMakeCompilerABI.h
Commit message (Collapse)AuthorAgeFilesLines
* CMakeDetermineCompilerABI: Detect byte order as part of checkBrad King2020-11-041-0/+12
| | | | | | | We already detect `sizeof(void*)`. Detect the byte order as part of the same check. Issue: #21392
* Remove now-unused code once used on IRIXBrad King2019-01-111-7/+1
| | | | | We dropped support for IRIX as a host platform long ago. Remove some leftover code.
* Revise C++ coding style using clang-format-6.0Kitware Robot2018-06-011-8/+8
| | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* clang-format: Add comments to suppress some formattingBrad King2018-06-011-1/+2
| | | | Preserve manually-formatted blocks.
* Add support for x32-abiSteven Newbury2017-03-071-0/+4
| | | | | | | | Detect x32-abi through CMakeCompilerABI infrastruture and use this information at runtime to determine the correct library paths with `FIND_LIBRARY_USE_LIBX32_PATHS`. Fixes: #15994
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-13/+11
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Remove `//------...` horizontal separator commentsBrad King2016-05-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Modern editors provide plenty of ways to visually separate functions. Drop the explicit comments that previously served this purpose. Use the following command to automate the change: $ git ls-files -z -- \ "*.c" "*.cc" "*.cpp" "*.cxx" "*.h" "*.hh" "*.hpp" "*.hxx" | egrep -z -v "^Source/cmCommandArgumentLexer\." | egrep -z -v "^Source/cmCommandArgumentParser(\.y|\.cxx|Tokens\.h)" | egrep -z -v "^Source/cmDependsJavaLexer\." | egrep -z -v "^Source/cmDependsJavaParser(\.y|\.cxx|Tokens\.h)" | egrep -z -v "^Source/cmExprLexer\." | egrep -z -v "^Source/cmExprParser(\.y|\.cxx|Tokens\.h)" | egrep -z -v "^Source/cmFortranLexer\." | egrep -z -v "^Source/cmFortranParser(\.y|\.cxx|Tokens\.h)" | egrep -z -v "^Source/cmListFileLexer\." | egrep -z -v "^Source/cm_sha2" | egrep -z -v "^Source/(kwsys|CursesDialog/form)/" | egrep -z -v "^Utilities/(KW|cm).*/" | xargs -0 sed -i '/^\(\/\/---*\|\/\*---*\*\/\)$/ {d;}' This avoids modifying third-party sources and generated sources.
* Help clang-format wrap after braces on long initializer listsBrad King2016-05-061-1/+3
| | | | | | Add a long comment inside a few braced initializer lists in order to convince clang-format to break after the opening brace and format the list without indenting every value past the opening brace.
* -check for the ARM ABI/EABI compiler ABI for the GNU compilersAlex Neundorf2010-04-111-0/+10
| | | | | | | | The names are: EABI: "ELF ARMEABI" non-EABI: "ELF ARM" Alex
* ENH: Remove sparcv9 architecture subdir added earlier. The new implicit ↵Brad King2008-01-231-2/+0
| | | | link directory policy takes care of the problem.
* ENH: Enable library search path suffix for sparcv9 architecture. This ↵Brad King2008-01-231-0/+2
| | | | should be generalized to a platform file later.
* ENH: Generalize the check for sizeof void* to detect more ABI information.Brad King2008-01-211-0/+26