diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2021-01-15 15:44:09 +0100 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2021-01-15 16:41:34 +0100 |
commit | 1744f4c676411ebd2e38afd5a6b56e5dd533c6ac (patch) | |
tree | 43464eea08bd5e648b49058d85d479f63447f430 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | a7dcd3aeb0fb58ad774bc89428ed6c925f31f8aa (diff) | |
download | llvm-1744f4c676411ebd2e38afd5a6b56e5dd533c6ac.zip llvm-1744f4c676411ebd2e38afd5a6b56e5dd533c6ac.tar.gz llvm-1744f4c676411ebd2e38afd5a6b56e5dd533c6ac.tar.bz2 |
[clang][cli] NFC: Promote ParseLangArgs and ParseCodeGenArgs to members
This patch promotes `ParseLangArgs` and `ParseCodeGenArgs` to members of `CompilerInvocation`. That will be useful in the following patch D94682, where we need to access protected members of `LangOptions` and `CodeGenOptions`. Both of those classes already have `friend CompilerInvocation`.
This is cleaner than keeping those functions freestanding and having to specify the exact signature of both in extra `friend` declarations.
Reviewed By: Bigcheese
Differential Revision: https://reviews.llvm.org/D94681
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions