diff options
author | Zixu Wang <zixu_wang@apple.com> | 2022-03-25 11:43:44 -0700 |
---|---|---|
committer | Zixu Wang <zixu_wang@apple.com> | 2022-03-29 10:06:08 -0700 |
commit | 15bf0e567375c977cf7d7b48465eb1561e890b54 (patch) | |
tree | 15278bfbd9173bd90a16b3c6723412ce7613d55b /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | ef6f7c4a60836b052a0c6d995280d19eafa31b39 (diff) | |
download | llvm-15bf0e567375c977cf7d7b48465eb1561e890b54.zip llvm-15bf0e567375c977cf7d7b48465eb1561e890b54.tar.gz llvm-15bf0e567375c977cf7d7b48465eb1561e890b54.tar.bz2 |
[clang][extract-api] Use correct language info from inputs
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.
Differential Revision: https://reviews.llvm.org/D122495
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions