summaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Program.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/ByteCode/Program.h')
-rw-r--r--clang/lib/AST/ByteCode/Program.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/AST/ByteCode/Program.h b/clang/lib/AST/ByteCode/Program.h
index be84c40714a6..f676672fb7ce 100644
--- a/clang/lib/AST/ByteCode/Program.h
+++ b/clang/lib/AST/ByteCode/Program.h
@@ -64,7 +64,8 @@ public:
const void *getNativePointer(unsigned Idx);
/// Emits a string literal among global data.
- unsigned createGlobalString(const StringLiteral *S);
+ unsigned createGlobalString(const StringLiteral *S,
+ const Expr *Base = nullptr);
/// Returns a pointer to a global.
Pointer getPtrGlobal(unsigned Idx) const;