llvm.org GIT mirror llvm / 355e3d1
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362165 91177308-0d34-0410-b5e6-96231b3b80d8 Francis Visoiu Mistrih 2 months ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
5555 yaml::Output YAMLOutput;
5656
5757 YAMLSerializer(raw_ostream &OS,
58 UseStringTable UseStringTable = UseStringTable::No);
58 UseStringTable UseStringTable = remarks::UseStringTable::No);
5959
6060 /// Emit a remark to the stream.
6161 void emit(const Remark &Remark) override;
153153
154154 YAMLSerializer::YAMLSerializer(raw_ostream &OS, UseStringTable UseStringTable)
155155 : Serializer(OS), YAMLOutput(OS, reinterpret_cast(this)) {
156 if (UseStringTable == UseStringTable::Yes || RemarksYAMLStringTable)
156 if (UseStringTable == remarks::UseStringTable::Yes || RemarksYAMLStringTable)
157157 StrTab.emplace();
158158 }
159159