[PATCH] D122495: [clang][extract-api] Use correct language info from inputs
Zixu Wang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 28 16:23:23 PDT 2022
zixuw marked 2 inline comments as done.
zixuw added inline comments.
================
Comment at: clang/include/clang/ExtractAPI/API.h:312
- /// Get the language options used to parse the APIs.
- const LangOptions &getLangOpts() const { return LangOpts; }
+ /// Get the language by the APIs.
+ Language getLanguage() const { return Lang; }
----------------
dang wrote:
> Nit: "by" isn't great here, maybe something along the lines of "Get the language the APIs are defined in."
Whops! Missed a 'used' while moving the change from the other patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122495/new/
https://reviews.llvm.org/D122495
More information about the cfe-commits
mailing list