aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Stone <davidfromonline@gmail.com>2023-10-07 19:49:05 -0600
committerGitHub <noreply@github.com>2023-10-08 09:49:05 +0800
commit701d804cdb6944fbb2d4519c1f334425b3a38677 (patch)
tree5fa28417b67f0bcaafb95068ed457524fca2af7f /clang/lib/Frontend/CompilerInvocation.cpp
parentdae91f5dbc5bee579eac7f4cbb71e86f2934817f (diff)
downloadllvm-701d804cdb6944fbb2d4519c1f334425b3a38677.zip
llvm-701d804cdb6944fbb2d4519c1f334425b3a38677.tar.gz
llvm-701d804cdb6944fbb2d4519c1f334425b3a38677.tar.bz2
[clang][Modules] `checkModuleIsAvailable` should use a const & parameter instead of pointer (#67902)
The `Module` parameter to `checkModuleIsAvailable` is currently passed by pointer to non-const. However, it requires only const access and it cannot be null. Change this to be a reference to const instead. This then makes it obvious that it is an input-only parameter, so move it to be before the in-out parameter for diagnostics.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions