LLVM fork for squiid.
https://github.com/llvm/llvm-project/
47452b9691
When a misparsed FunctionReference was converted to a StructureConstructor, the components accessed were not checked for accessibility. The conversion happens in expression analysis so that where the accessibity must be checked. So move `CheckAccessibleComponent` to `tools.h` so that it can be shared by `resolve-names.cpp` and `expression.cpp`. Add FindModuleContaining to help implement this and use it other places. Check that an access-spec can only appear in a module. Remove some unnecessary "semantics::" qualifiers. Original-commit: flang-compiler/f18@99ce156e49 Reviewed-on: https://github.com/flang-compiler/f18/pull/1046 |
||
---|---|---|
flang |