[clang] [Sema] 81145 (PR #81150)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 9 23:37:19 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 c8ca98a2a9796797f2eab00cc6516610c133633a d9fe7f3777a27057181eaa008577fc13a30d30ee -- clang/include/clang/AST/DeclCXX.h clang/lib/AST/DeclCXX.cpp clang/lib/Sema/SemaTemplateInstantiate.cpp clang/lib/Sema/TreeTransform.h clang/test/SemaTemplate/concepts-lambda.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 95bf67fa4b..0a1dad4df8 100644
--- a/clang/lib/Sema/TreeTransform.h
+++ b/clang/lib/Sema/TreeTransform.h
@@ -13837,7 +13837,8 @@ TreeTransform<Derived>::TransformLambdaExpr(LambdaExpr *E) {
}
getSema().handleLambdaNumbering(Class, NewCallOperator, Numbering);
- if (!Class->getLambdaInstantiatingContextDecl() && getSema().inTemplateInstantiation())
+ if (!Class->getLambdaInstantiatingContextDecl() &&
+ getSema().inTemplateInstantiation())
Class->setLambdaInstantiatingContextDecl(
getSema().CodeSynthesisContexts.back().Entity);
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/81150
More information about the cfe-commits
mailing list