The current way of getting the clang::Language from LangOptions does
not handle Objective-C correctly because clang::Language::ObjC does
not correspond to any LangStandard. This patch passes the correct
Language from the frontend input information.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/include/clang/ExtractAPI/API.h | ||
---|---|---|
312–313 | Whops! Missed a 'used' while moving the change from the other patch. |
Nit: "by" isn't great here, maybe something along the lines of "Get the language the APIs are defined in."