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 0930f62cf600d9e2e9a45fef1b3a422d50be89d5 
0637a482c881f5ce31fd1debbc8dcc40a05c66ba -- clang/lib/Sema/TreeTransform.h 
clang/test/SemaCXX/cxx1z-noexcept-function-type.cpp
``````````

</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 fb7e15b5bc..9dc0c55518 100644
--- a/clang/lib/Sema/TreeTransform.h
+++ b/clang/lib/Sema/TreeTransform.h
@@ -6192,7 +6192,8 @@ bool TreeTransform<Derived>::TransformExceptionSpec(
 
   // Instantiate a dynamic noexcept expression, if any.
   if (isComputedNoexcept(ESI.Type)) {
-    // Update this scrope because ContextDecl in Sema will be used in 
TransformExpr.
+    // Update this scrope because ContextDecl in Sema will be used in
+    // TransformExpr.
     auto *Method = dyn_cast_or_null<CXXMethodDecl>(ESI.SourceTemplate);
     Sema::CXXThisScopeRAII ThisScope(
         SemaRef, Method ? Method->getParent() : nullptr,

``````````

</details>


https://github.com/llvm/llvm-project/pull/77416
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to