aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-02-22 00:17:46 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-02-22 00:17:46 +0000
commita64cb5a019f7f194b7bf24a1dd1470953d302d32 (patch)
tree461e0f783d085fef728e92bcf507c8537f4a3202 /clang/lib/Basic/VirtualFileSystem.cpp
parenta349084a91025cff528bc3c4e5582ae5e049c2fc (diff)
downloadllvm-a64cb5a019f7f194b7bf24a1dd1470953d302d32.zip
llvm-a64cb5a019f7f194b7bf24a1dd1470953d302d32.tar.gz
llvm-a64cb5a019f7f194b7bf24a1dd1470953d302d32.tar.bz2
Sema: Don't crash when trying to instantiate a local class with an invalid base specifier
It was previously thought that Sema::InstantiateClass could not fail from within this point in instantiate. However, it can happen if the class is invalid some way (i.e. invalid base specifier). This fixes PR18907. Differential Revision: http://llvm-reviews.chandlerc.com/D2850 llvm-svn: 201913
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions