]> granicus.if.org Git - clang/commit
ObjectiveC migrator: infer NS_ENUM even when user
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 30 Aug 2013 17:46:01 +0000 (17:46 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 30 Aug 2013 17:46:01 +0000 (17:46 +0000)
commitc9820ebfeff30598ebd7369c5daf5bde10df934b
tree3a363f709a6960400f8a5ab2cd01c55da7856229
parent4e899d9b0b5aa31b0a3704374d245fc345c19fa8
ObjectiveC migrator: infer NS_ENUM even when user
specified NSUInteger as the followup typedef.
With this change, NS_OPTIONS is only inferred
based on looking up how enumerators are speficied
(if they her hexadecimal, power of 2, or have
 bitwise constant expressions).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189682 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ARCMigrate/ObjCMT.cpp
test/ARCMT/objcmt-ns-macros.m
test/ARCMT/objcmt-ns-macros.m.result