Update for encapsulating the "construct*AlignmentFromInt" methods.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164374 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp
index 95bee4b..bdc0d85 100644
--- a/lib/CodeGen/CGCall.cpp
+++ b/lib/CodeGen/CGCall.cpp
@@ -1043,7 +1043,7 @@
Attrs |= llvm::Attribute::ByVal;
Attrs |=
- llvm::Attribute::constructAlignmentFromInt(AI.getIndirectAlign());
+ llvm::Attributes::constructAlignmentFromInt(AI.getIndirectAlign());
// byval disables readnone and readonly.
FuncAttrs &= ~(llvm::Attribute::ReadOnly |
llvm::Attribute::ReadNone);