summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2012-03-09 21:19:44 +0000
committerNico Weber <nicolasweber@gmx.de>2012-03-09 21:19:44 +0000
commit97bd94bd9866d4379c9cc4ffef04b30e5adcd5ae (patch)
treef5fa308184058b9d553028ca63cc603b65f05bb0
parent394d07ea88d6f748b18a2571e7deb41ff81c9b6e (diff)
downloadbcm5719-llvm-97bd94bd9866d4379c9cc4ffef04b30e5adcd5ae.tar.gz
bcm5719-llvm-97bd94bd9866d4379c9cc4ffef04b30e5adcd5ae.zip
Update comment after r152140. Clarify a bit too.
llvm-svn: 152441
-rw-r--r--clang/lib/Driver/Tools.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index 69b084b7efa..630b5d93702 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -2250,7 +2250,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
}
}
- // -fobjc-default-synthesize-properties=0 is default.
+ // -fobjc-default-synthesize-properties=1 is default. This only has an effect
+ // if the nonfragile objc abi is used.
if (Args.hasFlag(options::OPT_fobjc_default_synthesize_properties,
options::OPT_fno_objc_default_synthesize_properties,
getToolChain().IsObjCDefaultSynthPropertiesDefault())) {
OpenPOWER on IntegriCloud