Browse Source

build: add exception header (#5112)

This file uses std::current_exception, so it should
include <exception>
Nathan Gauër 2 năm trước cách đây
mục cha
commit
b96b69af98
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      lib/IR/Value.cpp

+ 1 - 0
lib/IR/Value.cpp

@@ -33,6 +33,7 @@
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/ManagedStatic.h"
 #include "llvm/Support/raw_ostream.h"
+#include <exception> // HLSL Change - add header.
 #include <algorithm>
 using namespace llvm;