[PATCH] D34063: [ThinLTO] YAML traits for module summaries

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 25 17:21:33 PDT 2017


sfertile added inline comments.


================
Comment at: include/llvm/IR/ModuleSummaryIndexYAML.h:400
+        }
+        if (auto *GVSum = dyn_cast<GlobalVarSummary>(Sum.get()))
+          GVSums.push_back(GlobalVarSummaryYaml{GVSumY});
----------------
GVSum is unused, which will introduce a warning.


https://reviews.llvm.org/D34063





More information about the llvm-commits mailing list