aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetAsmInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Target/TargetAsmInfo.h')
-rw-r--r--include/llvm/Target/TargetAsmInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index 393be61..cd0fcf8 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -123,6 +123,8 @@ namespace llvm {
const std::string& getName() const { return Name; }
unsigned getFlags() const { return Flags; }
+
+ bool hasFlag(unsigned F) const { return (Flags & F) != 0; }
};
/// TargetAsmInfo - This class is intended to be used as a base class for asm