OSDN Git Service

Objective-C Class Properties: Autoupgrade "Class Properties" module flag.
authorManman Ren <manman.ren@gmail.com>
Wed, 25 May 2016 23:14:48 +0000 (23:14 +0000)
committerManman Ren <manman.ren@gmail.com>
Wed, 25 May 2016 23:14:48 +0000 (23:14 +0000)
commitb9f73597f63b774be4012141a96174740dc819df
tree733b964b3a6805939399dc3a00dec87ea4954b55
parentd92afbd909c7878508c45cfcc34629525f0cf945
Objective-C Class Properties: Autoupgrade "Class Properties" module flag.

When we have "Image Info Version" module flag but don't have "Class Properties"
module flag, set "Class Properties" module flag to 0, so we can correctly emit
errors when one module has the flag set and another module does not.

rdar://26469641

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270791 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/AutoUpgrade.h
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/IR/AutoUpgrade.cpp
test/Bitcode/upgrade-module-flag.ll [new file with mode: 0644]