]> granicus.if.org Git - clang/commit
Lex: Use dbgs() instead of fprintf() in HeaderMap::dump()
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 20 Feb 2016 23:09:14 +0000 (23:09 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 20 Feb 2016 23:09:14 +0000 (23:09 +0000)
commitc41b90a59cc79231b5ac5772309313a54343d94b
tree8bc9f5c4d3683d1682daf7f9a655fde970f57bcd
parent5900ac9ac63bacb65273c32e964e087e2ed98337
Lex: Use dbgs() instead of fprintf() in HeaderMap::dump()

This way it's easy to change HeaderMapImpl::getString() to return a
StringRef.

There's a slight change here, because I used `errs()` instead of
`dbgs()`.  But `dbgs()` is more appropriate for a dump method.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261456 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/HeaderMap.cpp