llvm-project/flang/lib/Semantics
Peter Klausler fa0443f2e7 [flang] Make source location more accurate for actual arguments
Track source location information when available for actual arguments
to procedure references, and use this information when checking constraints
on calls so that error messages refer to specific actual arguments
rather than to the entire call.

Differential Revision: https://reviews.llvm.org/D119849
2022-02-15 11:24:22 -08:00
..
CMakeLists.txt [flang] Save binding labels as strings 2021-03-24 11:25:23 -07:00
assignment.cpp [flang][nfc] Fix comments, remove needless API, tweak script 2021-01-22 10:55:53 -08:00
assignment.h
attr.cpp
canonicalize-acc.cpp [flang] Add clang-tidy check for braces around if 2021-06-16 09:13:53 +00:00
canonicalize-acc.h [flang][openacc] Semantic checks for OpenACC 3.0 clauses validity 2020-07-14 20:44:35 -04:00
canonicalize-do.cpp [flang][NFC] Get formatting in sync with latest clang-format 2020-07-01 16:51:46 -07:00
canonicalize-do.h
canonicalize-omp.cpp
canonicalize-omp.h
check-acc-structure.cpp [flang] Add clang-tidy check for braces around if 2021-06-16 09:13:53 +00:00
check-acc-structure.h [flang][directive] Enforce basic semantic check for all clauses 2021-02-01 13:33:30 -05:00
check-allocate.cpp [flang] Rearrange prototype & code placement of IsCoarray() 2021-11-30 15:26:34 -08:00
check-allocate.h
check-arithmeticif.cpp
check-arithmeticif.h
check-call.cpp [flang] Make source location more accurate for actual arguments 2022-02-15 11:24:22 -08:00
check-call.h [flang] Fix generic resolution case 2021-10-22 13:38:47 -07:00
check-case.cpp [flang] Fix integer CASE constant typing 2020-09-01 10:59:35 -07:00
check-case.h
check-coarray.cpp [flang] Support for image selectors 2020-07-08 07:31:54 -07:00
check-coarray.h [flang] Support for image selectors 2020-07-08 07:31:54 -07:00
check-data.cpp [flang] Allow DATA initialization of derived types w/ allocatable components 2022-02-14 10:43:49 -08:00
check-data.h [flang] Implement semantics for DEC STRUCTURE/RECORD 2022-01-13 13:17:13 -08:00
check-deallocate.cpp [flang] Save AllocateObject and PointerObject analyzed expression 2021-03-16 10:27:45 +01:00
check-deallocate.h
check-declarations.cpp [flang] Avoid bogus error for specification expression 2022-02-11 15:57:06 -08:00
check-declarations.h [flang] Improve initializer semantics, esp. for component default values 2020-12-07 14:40:41 -08:00
check-directive-structure.h The device expression must evaluate to a non-negative integer value. 2022-02-13 16:51:19 +05:30
check-do-forall.cpp [flang] Rearrange prototype & code placement of IsCoarray() 2021-11-30 15:26:34 -08:00
check-do-forall.h
check-if-stmt.cpp
check-if-stmt.h
check-io.cpp [flang] Legacy extension: non-character formats 2022-01-14 14:17:05 -08:00
check-io.h [flang] Fold LGE/LGT/LLE/LLT intrinsic functions 2021-10-14 15:24:03 -07:00
check-namelist.cpp
check-namelist.h
check-nullify.cpp [flang] Save AllocateObject and PointerObject analyzed expression 2021-03-16 10:27:45 +01:00
check-nullify.h
check-omp-structure.cpp The device expression must evaluate to a non-negative integer value. 2022-02-13 16:51:19 +05:30
check-omp-structure.h Added OpenMP 5.0 specification based semantic checks for atomic update construct 2022-01-24 13:24:00 +05:30
check-purity.cpp
check-purity.h
check-return.cpp [flang][NFC] Add GetTopLevelUnitContaining functions 2020-12-02 10:28:49 -08:00
check-return.h
check-select-rank.cpp [flang] Validate SIZE(x,DIM=n) dimension for assumed-size array x 2021-09-17 10:14:18 -07:00
check-select-rank.h
check-select-type.cpp [FLANG] Fix issues in SELECT TYPE construct when intrinsic type specification is specified in TYPE GUARD statement. 2020-08-03 09:24:42 +05:30
check-select-type.h
check-stop.cpp
check-stop.h
compute-offsets.cpp [flang] Fix common block size extension mistake in D109156 2021-09-09 09:12:12 +02:00
compute-offsets.h [flang] Implement STORAGE_SIZE(), SIZEOF(), C_SIZEOF() 2020-12-15 17:26:20 -08:00
data-to-inits.cpp [flang] Extension: initialization of LOGICAL with INTEGER & vice versa 2022-01-13 14:22:45 -08:00
data-to-inits.h [flang] Implement semantics for DEC STRUCTURE/RECORD 2022-01-13 13:17:13 -08:00
expression.cpp [flang] Make source location more accurate for actual arguments 2022-02-15 11:24:22 -08:00
mod-file.cpp [flang] Distinguish intrinsic from non-intrinsic modules 2022-01-31 13:31:27 -08:00
mod-file.h [flang] Distinguish intrinsic from non-intrinsic modules 2022-01-31 13:31:27 -08:00
pointer-assignment.cpp [flang] Accept pointer assignment w/ remapping to function result 2022-02-15 09:39:34 -08:00
pointer-assignment.h [flang] DATA stmt processing (part 3/4): Remaining prep work 2020-06-19 09:09:05 -07:00
program-tree.cpp [flang] Fix edge case in USE-associated generics 2022-02-11 16:55:05 -08:00
program-tree.h [flang] Fix edge case in USE-associated generics 2022-02-11 16:55:05 -08:00
resolve-directives.cpp Added OpenMP 5.0 specification based semantic checks for CRITICAL construct name resolution 2021-10-12 22:18:24 +05:30
resolve-directives.h [flang][NFC] Extract name resolution for OpenACC & OpenMP into new file 2020-07-28 16:38:36 -07:00
resolve-labels.cpp [flang] Allow exterior branch to outermost WHERE construct statement 2021-11-11 13:14:42 -08:00
resolve-labels.h
resolve-names-utils.cpp [flang] Allow extension cases of EQUIVALENCE with optional warnings 2022-02-15 10:21:38 -08:00
resolve-names-utils.h [flang] Allow extension cases of EQUIVALENCE with optional warnings 2022-02-15 10:21:38 -08:00
resolve-names.cpp [flang] Fix edge case in USE-associated generics 2022-02-11 16:55:05 -08:00
resolve-names.h [flang] Distinguish intrinsic from non-intrinsic modules 2022-01-31 13:31:27 -08:00
rewrite-parse-tree.cpp [flang] Clean up TODO comments and fix one (DATA constant ambiguity) 2020-12-15 13:36:07 -08:00
rewrite-parse-tree.h
runtime-type-info.cpp [flang] Fail at link time if derived type descriptors were not generated 2022-02-14 11:37:13 +01:00
scope.cpp [flang] Distinguish intrinsic from non-intrinsic modules 2022-01-31 13:31:27 -08:00
semantics.cpp [flang] Distinguish intrinsic from non-intrinsic modules 2022-01-31 13:31:27 -08:00
symbol.cpp [flang] Distinguish intrinsic from non-intrinsic modules 2022-01-31 13:31:27 -08:00
tools.cpp [flang] Allow DATA initialization of derived types w/ allocatable components 2022-02-14 10:43:49 -08:00
type.cpp [flang] Allow DATA initialization of derived types w/ allocatable components 2022-02-14 10:43:49 -08:00
unparse-with-symbols.cpp [flang][openacc] Basic name resolution infrastructure for OpenACC construct 2020-07-26 20:01:35 -04:00