arphaman added a comment. Is it possible to add a test for this change? Maybe you could dump the AST and check if the range is the one that you would expect (See test/Misc/ast-dump-decl.cpp for an example). https://reviews.llvm.org/D26849