aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-11-02 12:00:36 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-11-02 12:00:36 +0000
commit9b1754d058407e8f013e830e601a398347914701 (patch)
tree2249f88e9bd25da2e3960ad89ef6e0e894faca82 /llvm/lib/Object/MachOObjectFile.cpp
parent4589760efd438a703e75882ffc8b0a01a68342d4 (diff)
downloadllvm-9b1754d058407e8f013e830e601a398347914701.zip
llvm-9b1754d058407e8f013e830e601a398347914701.tar.gz
llvm-9b1754d058407e8f013e830e601a398347914701.tar.bz2
Sema: Disallow inheriting from classes with flexible array members
Flexible array members inherently index off of the end of their parent type. We shouldn't allow this type to be used as a base, virtual or otherwise, because indexing off the end may find us inside of another base or the derived types members. llvm-svn: 193923
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions