diff options
| author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2025-10-16 12:00:22 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-16 12:00:22 -0500 |
| commit | 467487f2a15d9b62c6999184daddbe9b51864e3b (patch) | |
| tree | 51d8ceebaf4d56f112291a39bd6b43d8f559bc86 /llvm/lib/Support/SourceMgr.cpp | |
| parent | 0ca14470fc9fc6f8d8afd355daee590be9ea98b8 (diff) | |
| download | llvm-467487f2a15d9b62c6999184daddbe9b51864e3b.zip llvm-467487f2a15d9b62c6999184daddbe9b51864e3b.tar.gz llvm-467487f2a15d9b62c6999184daddbe9b51864e3b.tar.bz2 | |
[flang][OpenMP] Reuse semantic check for "constantness" of alignment (#163624)
Use ScalarIntConstantExpr in the parse tree instead of ScalarIntExpr.
This will still parse a general expression, but the semantic checker for
expressions will automatically perfom a test for whether the value is
constant or not.
Use that instead of manual checks, it will make diagnostics more
uniform. There is no functional change other than that.
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions
