[flang] Set proper source location for the main function.
Take the source position for the anonymous program from its scope. If the first evaluation is a construct or directive, then it has null source position. Author: vdonaldson Differential Revision: https://reviews.llvm.org/D146445
parent
ae484c21
Please register or sign in to comment