[PATCH] D122160: [clang][extract-api] Refactor ExtractAPI and improve docs

Zixuan Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 23 19:59:02 PDT 2022


zixuan-wu added inline comments.


================
Comment at: clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp:159
+  switch (Language) {
+  case Language::C:
+    return "c";
----------------
It's same name as `Language` variable above, and it cause compile error. @zixuw 
Maybe the error depends on host compiler version so that it does not report immediately.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122160/new/

https://reviews.llvm.org/D122160



More information about the cfe-commits mailing list