[llvm] r320720 - Fix error due to missing includes.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 14 10:20:23 PST 2017
Author: zturner
Date: Thu Dec 14 10:20:23 2017
New Revision: 320720
URL: http://llvm.org/viewvc/llvm-project?rev=320720&view=rev
Log:
Fix error due to missing includes.
While I'm pushing cleanup changes, this also fixes a few warnings
related to extraneous semicolons.
Modified:
llvm/trunk/include/llvm/DebugInfo/CodeView/TypeHashing.h
llvm/trunk/include/llvm/ObjectYAML/WasmYAML.h
Modified: llvm/trunk/include/llvm/DebugInfo/CodeView/TypeHashing.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/CodeView/TypeHashing.h?rev=320720&r1=320719&r2=320720&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/CodeView/TypeHashing.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/CodeView/TypeHashing.h Thu Dec 14 10:20:23 2017
@@ -19,6 +19,8 @@
#include "llvm/Support/FormatProviders.h"
+#include <type_traits>
+
namespace llvm {
namespace codeview {
Modified: llvm/trunk/include/llvm/ObjectYAML/WasmYAML.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ObjectYAML/WasmYAML.h?rev=320720&r1=320719&r2=320720&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ObjectYAML/WasmYAML.h (original)
+++ llvm/trunk/include/llvm/ObjectYAML/WasmYAML.h Thu Dec 14 10:20:23 2017
@@ -34,9 +34,9 @@ LLVM_YAML_STRONG_TYPEDEF(int32_t, Signat
LLVM_YAML_STRONG_TYPEDEF(uint32_t, ExportKind)
LLVM_YAML_STRONG_TYPEDEF(uint32_t, Opcode)
LLVM_YAML_STRONG_TYPEDEF(uint32_t, RelocType)
-LLVM_YAML_STRONG_TYPEDEF(uint32_t, SymbolFlags);
-LLVM_YAML_STRONG_TYPEDEF(uint32_t, SegmentFlags);
-LLVM_YAML_STRONG_TYPEDEF(uint32_t, LimitFlags);
+LLVM_YAML_STRONG_TYPEDEF(uint32_t, SymbolFlags)
+LLVM_YAML_STRONG_TYPEDEF(uint32_t, SegmentFlags)
+LLVM_YAML_STRONG_TYPEDEF(uint32_t, LimitFlags)
struct FileHeader {
yaml::Hex32 Version;
More information about the llvm-commits
mailing list