[all-commits] [llvm/llvm-project] ca05cc: [clang] Don't use Optional::hasValue (NFC)
kazutakahirata via All-commits
all-commits at lists.llvm.org
Sun Jun 26 18:52:08 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ca05cc206478245292cb769f826dbe12f59605be
https://github.com/llvm/llvm-project/commit/ca05cc206478245292cb769f826dbe12f59605be
Author: Kazu Hirata <kazu at google.com>
Date: 2022-06-26 (Sun, 26 Jun 2022)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h
M clang/include/clang/Support/RISCVVIntrinsicUtils.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Lex/MacroInfo.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/unittests/Analysis/FlowSensitive/TestingSupport.cpp
Log Message:
-----------
[clang] Don't use Optional::hasValue (NFC)
This patch replaces x.hasValue() with x where x is contextually
convertible to bool.
More information about the All-commits
mailing list