[llvm] 10bbf41 - Add missed rename of getFnAttributes() -> getFnAttrs()
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 13 11:29:55 PDT 2021
Author: Arthur Eubanks
Date: 2021-08-13T11:29:20-07:00
New Revision: 10bbf417377437a66e2c1a575c4607c8de4c6dc0
URL: https://github.com/llvm/llvm-project/commit/10bbf417377437a66e2c1a575c4607c8de4c6dc0
DIFF: https://github.com/llvm/llvm-project/commit/10bbf417377437a66e2c1a575c4607c8de4c6dc0.diff
LOG: Add missed rename of getFnAttributes() -> getFnAttrs()
Added:
Modified:
llvm/tools/bugpoint-passes/TestPasses.cpp
Removed:
################################################################################
diff --git a/llvm/tools/bugpoint-passes/TestPasses.cpp b/llvm/tools/bugpoint-passes/TestPasses.cpp
index 6667cbe9255ec..1e669538ec33b 100644
--- a/llvm/tools/bugpoint-passes/TestPasses.cpp
+++ b/llvm/tools/bugpoint-passes/TestPasses.cpp
@@ -143,7 +143,7 @@ class CrashOnFunctionAttribute : public FunctionPass {
}
bool runOnFunction(Function &F) override {
- AttributeSet A = F.getAttributes().getFnAttributes();
+ AttributeSet A = F.getAttributes().getFnAttrs();
if (A.hasAttribute("bugpoint-crash"))
abort();
return false;
More information about the llvm-commits
mailing list