If you call Stmt::dump(), it creates an ASTDumper without a SourceManager: 
ASTDumper.cpp:2163 
http://clang.llvm.org/doxygen/ASTDumper_8cpp_source.html#l02162

Note that the other place SM is dereferenced in that file (ASTDumper.cpp:189) 
we check SM for null before using it.

http://reviews.llvm.org/D3589



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to