[flang-commits] [PATCH] D153910: [flang] Honor #line and related preprocessing directives

Thorsten via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Jun 27 12:48:30 PDT 2023


tschuett added inline comments.


================
Comment at: flang/include/flang/Parser/source.h:89
   Encoding encoding_;
+  std::set<std::string> distinctPaths_;
+  std::map<std::size_t, SourcePositionOrigin> origins_;
----------------
llvm::StringSet?


================
Comment at: flang/lib/Parser/provenance.cpp:533
   o << '\n';
+  std::set<const SourceFile *> sources;
   for (const Origin &m : origin_) {
----------------
llvm::SmallPtrSet?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153910/new/

https://reviews.llvm.org/D153910



More information about the flang-commits mailing list