[llvm-branch-commits] [clang] [SSAF] Add APIs for resolving bare EntityNames to qualified EntityNames (PR #219033)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Aug 26 13:55:01 PDT 2026
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 origin/main HEAD --extensions h,cpp -- clang/include/clang/ScalableStaticAnalysis/Core/ASTEntityMapping.h clang/include/clang/ScalableStaticAnalysis/Core/EntityLinker/EntityLinker.h clang/include/clang/ScalableStaticAnalysis/Core/Model/BuildNamespace.h clang/include/clang/ScalableStaticAnalysis/SourceTransformation/Transformation.h clang/include/clang/ScalableStaticAnalysis/SourceTransformation/TransformationRegistry.h clang/lib/ScalableStaticAnalysis/Core/ASTEntityMapping.cpp clang/lib/ScalableStaticAnalysis/Core/EntityLinker/EntityLinker.cpp clang/lib/ScalableStaticAnalysis/Core/Model/BuildNamespace.cpp clang/lib/ScalableStaticAnalysis/Core/TUSummary/TUSummaryExtractor.cpp clang/lib/ScalableStaticAnalysis/Frontend/SourceTransformationFrontendAction.cpp clang/lib/ScalableStaticAnalysis/SourceTransformation/TransformationRegistry.cpp clang/unittests/ScalableStaticAnalysis/ASTEntityMappingTest.cpp clang/unittests/ScalableStaticAnalysis/SourceTransformation/CppBoundedBuffersTest.cpp clang/unittests/ScalableStaticAnalysis/SourceTransformation/RegistryTest.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/unittests/ScalableStaticAnalysis/ASTEntityMappingTest.cpp b/clang/unittests/ScalableStaticAnalysis/ASTEntityMappingTest.cpp
index 7553e4283..b272ab7a5 100644
--- a/clang/unittests/ScalableStaticAnalysis/ASTEntityMappingTest.cpp
+++ b/clang/unittests/ScalableStaticAnalysis/ASTEntityMappingTest.cpp
@@ -367,9 +367,8 @@ TEST(ASTEntityMappingTest, QualifiedNameFollowsLinkage) {
getQualifiedEntityName(Internal, TUNamespace, LUNamespace) ==
BareInternal->makeQualified(TUNamespace).makeQualified(LUNamespace));
// getQualifiedEntityNameForReturn follows the same linkage-based rule.
- ASSERT_TRUE(
- getQualifiedEntityNameForReturn(Ext, TUNamespace, LUNamespace) ==
- BareExtReturn->makeQualified(LUNamespace));
+ ASSERT_TRUE(getQualifiedEntityNameForReturn(Ext, TUNamespace, LUNamespace) ==
+ BareExtReturn->makeQualified(LUNamespace));
}
} // namespace
``````````
</details>
https://github.com/llvm/llvm-project/pull/219033
More information about the llvm-branch-commits
mailing list