[clang] [AST] Dump explicit template arguments for UnreslovedLookupExpr. (PR #90466)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 29 06:12:08 PDT 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 83bc7b57714dc2f6b33c188f2b95a0025468ba51 b584fab7f2283535d4a04bc55efec6ff508870de -- clang/include/clang/AST/ASTNodeTraverser.h clang/test/AST/ast-dump-concepts.cpp clang/test/AST/ast-dump-template-json-win32-mangler-crash.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/include/clang/AST/ASTNodeTraverser.h b/clang/include/clang/AST/ASTNodeTraverser.h
index cf7493ac37..bf7c204e4a 100644
--- a/clang/include/clang/AST/ASTNodeTraverser.h
+++ b/clang/include/clang/AST/ASTNodeTraverser.h
@@ -844,7 +844,7 @@ public:
}
}
- void VisitUnresolvedLookupExpr(const UnresolvedLookupExpr* E) {
+ void VisitUnresolvedLookupExpr(const UnresolvedLookupExpr *E) {
if (E->hasExplicitTemplateArgs())
for (auto Arg : E->template_arguments())
Visit(Arg.getArgument());
``````````
</details>
https://github.com/llvm/llvm-project/pull/90466
More information about the cfe-commits
mailing list