aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorshafik <syaghmour@apple.com>2020-04-23 15:16:34 -0700
committershafik <syaghmour@apple.com>2020-04-23 15:18:48 -0700
commitdef7c7f6020530ef2deb64f786d28775b5d0e47f (patch)
tree402e2b7b9b1188c2edec1a1d02809e6375caa7ba /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentd94af364acfa252ef980bc18a53fdf01dceea201 (diff)
downloadllvm-def7c7f6020530ef2deb64f786d28775b5d0e47f.zip
llvm-def7c7f6020530ef2deb64f786d28775b5d0e47f.tar.gz
llvm-def7c7f6020530ef2deb64f786d28775b5d0e47f.tar.bz2
[ASTImporter] Fix handling of not defined FromRecord in ImportContext(...)
In ImportContext(…) we may call into CompleteDecl(…) which if FromRecrord is not defined will start the definition of a ToRecord but from what I can tell at least one of the paths though here don't ensure we complete the definition. For a RecordDecl this can be problematic since this means we won’t import base classes and we won’t have any of the methods or types we inherit from these bases. Differential Revision: https://reviews.llvm.org/D78000
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions