aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorYang Fan <nullptr.cpp@gmail.com>2021-04-21 16:00:57 +0800
committerYang Fan <nullptr.cpp@gmail.com>2021-04-21 16:01:46 +0800
commitc09277b0d8402cd3702a01f6314d6f81a7838da0 (patch)
tree80f2b80cf963544737a3411190e87b9f61dc51d2 /flang/lib/Frontend/CompilerInvocation.cpp
parent4307446e9fba75c8dd9a36576f1f972c5b5ccc4c (diff)
downloadllvm-c09277b0d8402cd3702a01f6314d6f81a7838da0.zip
llvm-c09277b0d8402cd3702a01f6314d6f81a7838da0.tar.gz
llvm-c09277b0d8402cd3702a01f6314d6f81a7838da0.tar.bz2
[lld][ELF] Fix "enumeral and non-enumeral type in conditional expression" warning (NFC)
GCC warning: ``` /llvm-project/lld/ELF/SyntheticSections.cpp: In member function ‘virtual void lld::elf::VersionTableSection::writeTo(uint8_t*)’: /llvm-project/lld/ELF/SyntheticSections.cpp:3128:34: warning: enumeral and non-enumeral type in conditional expression [-Wextra] 3128 | write16(buf, s.sym->isLazy() ? VER_NDX_GLOBAL : s.sym->versionId); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions