[PATCH] D17722: Make sure SLocEntry is an expansion before using getExpansion() method in SourceManager.

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 1 06:41:09 PST 2016


bkramer added a comment.

This doesn't have a test case. Also I don't understand why this is the correct fix. If someone is calling one of those method with a file SourceLocation (as opposed to a macro SourceLocation) they should stop doing that.


Repository:
  rL LLVM

http://reviews.llvm.org/D17722





More information about the cfe-commits mailing list