]> granicus.if.org Git - clang/commit
[PCH] Preload the PreloadSLocEntries through the SourceManager and
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 19 Sep 2011 20:39:54 +0000 (20:39 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 19 Sep 2011 20:39:54 +0000 (20:39 +0000)
commitac1ffcc55b861737ba2466cd1ca1accd8eafceaa
treed14b89ae90967092c6b3432a83120e54b497f559
parent4d1cbcf6b9aaae7f82c6e332f46b2ad2d8971bd0
[PCH] Preload the PreloadSLocEntries through the SourceManager and
don't call ReadSLocEntryRecord() directly because the entry may have
already been loaded in which case calling ReadSLocEntryRecord()
directly would trigger an assertion in SourceManager.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140052 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/SourceManager.h
lib/Serialization/ASTReader.cpp