We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59d76ea commit f1b2506Copy full SHA for f1b2506
llvm/include/llvm/IR/Constants.h
@@ -644,6 +644,10 @@ class ConstantDataSequential : public ConstantData {
644
/// and does not contains any other null bytes.
645
bool isCString() const;
646
647
+ /// This method returns true if the array is unicode string, ends with a null
648
+ /// byte,
649
+ bool isUnicodeString() const;
650
+
651
/// If this array is isString(), then this method returns the array as a
652
/// StringRef. Otherwise, it asserts out.
653
StringRef getAsString() const {
0 commit comments