objective-c modern translator: buildit objc bool
type for rewriter project will be BoolTy. // rdar://11231426. llvm-svn: 154861
This commit is contained in:
@@ -651,6 +651,10 @@ bool CompilerInstance::ExecuteAction(FrontendAction &Act) {
|
||||
// created. This complexity should be lifted elsewhere.
|
||||
getTarget().setForcedLangOptions(getLangOpts());
|
||||
|
||||
// rewriter project will change target built-in bool type from its default.
|
||||
if (getFrontendOpts().ProgramAction == frontend::RewriteObjC)
|
||||
getTarget().noSignedCharForObjCBool();
|
||||
|
||||
// Validate/process some options.
|
||||
if (getHeaderSearchOpts().Verbose)
|
||||
OS << "clang -cc1 version " CLANG_VERSION_STRING
|
||||
|
||||
Reference in New Issue
Block a user