Skip to content

Commit

Permalink
Add missed rename of getFnAttributes() -> getFnAttrs()
Browse files Browse the repository at this point in the history
  • Loading branch information
aeubanks committed Aug 13, 2021
1 parent 80ea2bb commit 10bbf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/tools/bugpoint-passes/TestPasses.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 10bbf41

Please sign in to comment.