Implement the related character intrinsic functions
SCAN and VERIFY.
Details
- Reviewers
jeanPerier - Commits
- rG5a451a428904: [flang] Runtime: SCAN and VERIFY
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Logic looks good to me. Please take care of the Pre-merge checks if they make sense.
flang/runtime/character.cpp | ||
---|---|---|
273 | Given the logic of the code, the 3 narrowing warnings from clang-tidy do not look harmful to me, but I think it might be worth adding explicit casts/removing the initializer list to avoid compiler warnings here. | |
305 | Is this clang-format warning coming from a clang-format version difference ? |
flang/runtime/character.cpp | ||
---|---|---|
305 | Maybe, but I'm not sure which is the newer one. I use clang-format built from llvm-project/main clang source. |
clang-tidy: error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned int' in initializer list [clang-diagnostic-c++11-narrowing]
not useful