aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2024-08-23 14:55:40 -0700
committerGitHub <noreply@github.com>2024-08-23 14:55:40 -0700
commit3e763db81607c71d0bb2eb4c01721ac6965d8de7 (patch)
treede69c8a2e4a6ca0fa73c9e8c8d7d033ded726bcf /clang/lib/Frontend/CompilerInvocation.cpp
parentb48ef8d8d4fac69a9763945a6019dc59ad21ca28 (diff)
downloadllvm-3e763db81607c71d0bb2eb4c01721ac6965d8de7.zip
llvm-3e763db81607c71d0bb2eb4c01721ac6965d8de7.tar.gz
llvm-3e763db81607c71d0bb2eb4c01721ac6965d8de7.tar.bz2
[SPIRV] Fix return type mismatch for createSPIRVEmitNonSemanticDIPass (#105889)
The declaration in SPIRV.h had this returning a `MachineFunctionPass *`, but the implementation returned a `FunctionPass *`. This showed up as a build error on windows, but it was clearly a mistake regardless. I also updated the pass to include SPIRV.h rather than using its own declarations for pass initialization, as this results in better errors for this kind of typo. Fixes a build break after #97558
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions