aboutsummaryrefslogtreecommitdiff
path: root/Driver/clang.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2008-11-26 23:31:11 +0000
committerDouglas Gregor <dgregor@apple.com>2008-11-26 23:31:11 +0000
commitcb7de523cc2ad5635f235e15b12867e6b349441f (patch)
tree03cd5ec037d9e31c6798e8f62c9ec8a9ed689183 /Driver/clang.cpp
parentb2eb0b494c2384f3935e5092d4227e4ea62eacb1 (diff)
Implement implicit conversions for Objective-C specific types, e.g.,
converting a pointer to one Objective-C interface into a pointer to another Objective-C interface, and conversions with 'id'. The semantics seems to match GCC, although they seem somewhat ad hoc. Fixed a few cases where we assumed the C++ definition of isObjectType, but were getting the C definition, causing failures in trouble with conversions to void pointers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r--Driver/clang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index dacdca75a9..0941ed4670 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -573,7 +573,7 @@ static void InitializeLanguageStandard(LangOptions &Options, LangKind LK,
}
if (Options.CPlusPlus)
- Options.Blocks = 0;
+ Options.Blocks = 0;
}
static llvm::cl::opt<bool>