| commit | 48998d10e089bb20ff1e47fcf573b58602b285b2 | [log] [tgz] |
|---|---|---|
| author | Francis Visoiu Mistrih <francisvm@yahoo.com> | Thu May 30 22:01:56 2019 +0000 |
| committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | Thu May 30 22:01:56 2019 +0000 |
| tree | 45a92c4a224a8facc903fa78475b6f6a7501eb36 | |
| parent | e5a7a858f56ce71d0bacf87cb8ef5e48666f34e1 [diff] [blame] |
[Remarks] Fix usage of enum class Breaks the build on some compilers: http://lab.llvm.org:8011/builders/clang-cmake-x86_64-avx2-linux/builds/9720/steps/build%20stage%201/logs/stdio llvm-svn: 362165
diff --git a/llvm/lib/Remarks/YAMLRemarkSerializer.cpp b/llvm/lib/Remarks/YAMLRemarkSerializer.cpp index 47fef5d..14de44f 100644 --- a/llvm/lib/Remarks/YAMLRemarkSerializer.cpp +++ b/llvm/lib/Remarks/YAMLRemarkSerializer.cpp
@@ -154,7 +154,7 @@ YAMLSerializer::YAMLSerializer(raw_ostream &OS, UseStringTable UseStringTable) : Serializer(OS), YAMLOutput(OS, reinterpret_cast<void *>(this)) { - if (UseStringTable == UseStringTable::Yes || RemarksYAMLStringTable) + if (UseStringTable == remarks::UseStringTable::Yes || RemarksYAMLStringTable) StrTab.emplace(); }