[PATCH] D50662: Add dump() method for SourceRange

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 23 15:36:34 PDT 2018


steveire added inline comments.


================
Comment at: unittests/Basic/SourceManagerTest.cpp:189
+
+  // TODO: How do I get a loc in another file?
+  auto headerLoc = SourceMgr.getSpellingLoc(SourceMgr.translateLineCol(MainFileID, 3, 5));
----------------
I don't know how to resolve this TODO, and somehow test a range between two files.


Repository:
  rC Clang

https://reviews.llvm.org/D50662





More information about the cfe-commits mailing list