SBPlatform.cpp (258884) | SBPlatform.cpp (280031) |
---|---|
1//===-- SBPlatform.cpp ------------------------------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 255 unchanged lines hidden (view full) --- 264{ 265 266} 267 268SBPlatform::SBPlatform (const char *platform_name) : 269 m_opaque_sp () 270{ 271 Error error; | 1//===-- SBPlatform.cpp ------------------------------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 255 unchanged lines hidden (view full) --- 264{ 265 266} 267 268SBPlatform::SBPlatform (const char *platform_name) : 269 m_opaque_sp () 270{ 271 Error error; |
272 m_opaque_sp = Platform::Create (platform_name, error); | 272 if (platform_name && platform_name[0]) 273 m_opaque_sp = Platform::Create (ConstString(platform_name), error); |
273} 274 275SBPlatform::~SBPlatform() 276{ 277} 278 279bool 280SBPlatform::IsValid () const --- 352 unchanged lines hidden --- | 274} 275 276SBPlatform::~SBPlatform() 277{ 278} 279 280bool 281SBPlatform::IsValid () const --- 352 unchanged lines hidden --- |