mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
Remove the bitwise AND operators from the Attributes class. Replace it with the equivalent from the builder class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165896 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -567,9 +567,10 @@ void Verifier::VerifyParameterAttrs(Attributes Attrs, Type *Ty,
|
||||
Attrs.hasAttribute(Attributes::AlwaysInline)), "Attributes "
|
||||
"'noinline and alwaysinline' are incompatible!", V);
|
||||
|
||||
Attributes TypeI = Attrs & Attributes::typeIncompatible(Ty);
|
||||
Assert1(!TypeI, "Wrong type for attribute " +
|
||||
TypeI.getAsString(), V);
|
||||
Assert1(!Attributes::Builder(Attrs).
|
||||
hasAttributes(Attributes::typeIncompatible(Ty)),
|
||||
"Wrong types for attribute: " +
|
||||
Attributes::typeIncompatible(Ty).getAsString(), V);
|
||||
|
||||
if (PointerType *PTy = dyn_cast<PointerType>(Ty))
|
||||
Assert1(!Attrs.hasAttribute(Attributes::ByVal) ||
|
||||
|
||||
Reference in New Issue
Block a user