• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- tools/dsymutil/CFBundle.h - CFBundle helper --------------*- 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 //===----------------------------------------------------------------------===//
9 
10 #include "llvm/ADT/StringRef.h"
11 #include <string>
12 
13 namespace llvm {
14 namespace dsymutil {
15 
16 struct CFBundleInfo {
17   std::string VersionStr = "1";
18   std::string ShortVersionStr = "1.0";
19   std::string IDStr;
OmitShortVersionCFBundleInfo20   bool OmitShortVersion() const { return ShortVersionStr.empty(); }
21 };
22 
23 CFBundleInfo getBundleInfo(llvm::StringRef ExePath);
24 
25 } // end namespace dsymutil
26 } // end namespace llvm
27