[all-commits] [llvm/llvm-project] 798c5b: [clang][NFC] refactors value type traits so we can...
Charalampos Mitrodimas via All-commits
all-commits at lists.llvm.org
Mon Jun 5 11:08:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 798c5ba770d30520a7cd6f431068ade2bda5a9f1
https://github.com/llvm/llvm-project/commit/798c5ba770d30520a7cd6f431068ade2bda5a9f1
Author: Christopher Di Bella <cjdb at google.com>
Date: 2023-06-05 (Mon, 05 Jun 2023)
Changed paths:
M clang/lib/Sema/SemaExprCXX.cpp
Log Message:
-----------
[clang][NFC] refactors value type traits so we can have more than bools
Since all the type traits up until now have had Boolean vaules, we've
always been able to assume that the expressions are `bool`. This is
about to change (D151952 introduces a trait that returns `size_t`), so
we need to restructure the code so it doesn't become unwieldy.
This is achieved by giving traits a designated "return" type.
Differential Revision: https://reviews.llvm.org/D152034
Commit: 91be60b34715bfe930dd1c56414c62a63cdaaa9c
https://github.com/llvm/llvm-project/commit/91be60b34715bfe930dd1c56414c62a63cdaaa9c
Author: Charalampos Mitrodimas <charmitro at gmail.com>
Date: 2023-06-05 (Mon, 05 Jun 2023)
Changed paths:
M clang/lib/Frontend/TextDiagnostic.cpp
A clang/test/Frontend/absolute-paths-import.h
M clang/test/Frontend/absolute-paths.c
Log Message:
-----------
Respect "-fdiagnostics-absolute-paths" on emit include location
This commit fixes "TextDiagnostic::emitIncludeLocation" when compiling
with "-fdiagnostics-absolute-paths" flag enabled by emitting the absolute
path of the included file.
Fixes #63026
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D151833
Compare: https://github.com/llvm/llvm-project/compare/68f55d78e3cd...91be60b34715
More information about the All-commits
mailing list