[clang] [Clang] Drop workaround for old gcc versions (PR #78803)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 21 11:05:12 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 2521e9785dd640920d97b110a8e5b6886e09b851 0587160ab261fed6936481250c0db9d9517ebd49 -- clang/lib/Sema/TreeTransform.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Sema/TreeTransform.h b/clang/lib/Sema/TreeTransform.h
index b3cac0bb38..5e05b78555 100644
--- a/clang/lib/Sema/TreeTransform.h
+++ b/clang/lib/Sema/TreeTransform.h
@@ -6084,8 +6084,8 @@ TreeTransform<Derived>::TransformFunctionProtoType(TypeLocBuilder &TLB,
return getDerived().TransformFunctionProtoType(
TLB, TL, nullptr, Qualifiers(),
[&](FunctionProtoType::ExceptionSpecInfo &ESI, bool &Changed) {
- return getDerived().TransformExceptionSpec(
- TL.getBeginLoc(), ESI, ExceptionStorage, Changed);
+ return getDerived().TransformExceptionSpec(TL.getBeginLoc(), ESI,
+ ExceptionStorage, Changed);
});
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/78803
More information about the cfe-commits
mailing list