Update clang to r339409b.
Change-Id: Ied8a188bb072c40035320acedc86164b66d920af
diff --git a/linux-x64/clang/include/llvm/IR/DebugLoc.h b/linux-x64/clang/include/llvm/IR/DebugLoc.h
index 9f619ff..4f0d7f5 100644
--- a/linux-x64/clang/include/llvm/IR/DebugLoc.h
+++ b/linux-x64/clang/include/llvm/IR/DebugLoc.h
@@ -78,7 +78,8 @@
///
/// FIXME: Remove this. Users should use DILocation::get().
static DebugLoc get(unsigned Line, unsigned Col, const MDNode *Scope,
- const MDNode *InlinedAt = nullptr);
+ const MDNode *InlinedAt = nullptr,
+ bool ImplicitCode = false);
enum { ReplaceLastInlinedAt = true };
/// Rebuild the entire inlined-at chain for this instruction so that the top of
@@ -112,6 +113,10 @@
/// Return \c this as a bar \a MDNode.
MDNode *getAsMDNode() const { return Loc; }
+ /// Check if the DebugLoc corresponds to an implicit code.
+ bool isImplicitCode() const;
+ void setImplicitCode(bool ImplicitCode);
+
bool operator==(const DebugLoc &DL) const { return Loc == DL.Loc; }
bool operator!=(const DebugLoc &DL) const { return Loc != DL.Loc; }