aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetOptionsImpl.cpp
diff options
context:
space:
mode:
authorGábor Horváth <xazax.hun@gmail.com>2024-06-07 06:47:57 +0100
committerGitHub <noreply@github.com>2024-06-07 06:47:57 +0100
commit670fa2bd7a4d50c33bc24d4e3e1fa4079592b730 (patch)
treece567c9e2d1cfd49664f38f4745122b7d909bc3c /llvm/lib/CodeGen/TargetOptionsImpl.cpp
parentd231b50dba6cf1b3ab095d381ae622e9498bbb3c (diff)
downloadllvm-670fa2bd7a4d50c33bc24d4e3e1fa4079592b730.zip
llvm-670fa2bd7a4d50c33bc24d4e3e1fa4079592b730.tar.gz
llvm-670fa2bd7a4d50c33bc24d4e3e1fa4079592b730.tar.bz2
Fix spurious non-strict availability warning (#94377)
The availability attributes are stored on the function declarations. The code was looking for them in the function template declarations. This resulted in spuriously diagnosing (non-strict) availablity issues in contexts that are not available. Co-authored-by: Gabor Horvath <gaborh@apple.com>
Diffstat (limited to 'llvm/lib/CodeGen/TargetOptionsImpl.cpp')
0 files changed, 0 insertions, 0 deletions