Added support for indicating to the expression parser
that the result of an expression should be coerced to
a specific type. Also made breakpoint conditions pass
in the bool type for this type.
The expression parser ignores this indication for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119779 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Symbol/ClangASTContext.cpp b/source/Symbol/ClangASTContext.cpp
index 1ab02b9..1330275 100644
--- a/source/Symbol/ClangASTContext.cpp
+++ b/source/Symbol/ClangASTContext.cpp
@@ -671,6 +671,12 @@
}
clang_type_t
+ClangASTContext::GetBuiltInType_bool()
+{
+ return getASTContext()->BoolTy.getAsOpaquePtr();
+}
+
+clang_type_t
ClangASTContext::GetBuiltInType_objc_id()
{
return getASTContext()->ObjCBuiltinIdTy.getAsOpaquePtr();