aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
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
commitdf423545a19275559b675bb4f20b6fbe738f0a11 (patch)
treecc7721a82c3261d1c1c7d7db270c0d20d545f0e8 /lib/Driver/Tools.cpp
parent3fd5f370a28552976c52e76c3035d79012d78dda (diff)
Update comment after r152140. Clarify a bit too.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152441 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r--lib/Driver/Tools.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp
index 69b084b7ef..630b5d9370 100644
--- a/lib/Driver/Tools.cpp
+++ b/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())) {