diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/IR/DiagnosticInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/IR/DiagnosticInfo.h b/include/llvm/IR/DiagnosticInfo.h index e082035795..604de1fed9 100644 --- a/include/llvm/IR/DiagnosticInfo.h +++ b/include/llvm/IR/DiagnosticInfo.h @@ -17,6 +17,7 @@ #include "llvm-c/Core.h" #include "llvm/ADT/ArrayRef.h" +#include "llvm/IR/DebugLoc.h" #include "llvm/Support/Casting.h" namespace llvm { @@ -289,7 +290,7 @@ private: const Function &Fn; /// Debug location where this diagnostic is triggered. - const DebugLoc &DLoc; + DebugLoc DLoc; /// Message to report. const Twine &Msg; |