//===- comgr-resource-directory.h - Handle embedded resource directory-----===//
//
// Part of Comgr, under the Apache License v2.0 with LLVM Exceptions. See
// amd/comgr/LICENSE.TXT in this repository for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef COMGR_RESOURCE_DIRECTORY_H
#define COMGR_RESOURCE_DIRECTORY_H

#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"

namespace COMGR {

struct DataAction;
struct DataSet;

struct ResourceDirResource {
  // Resource directory file path, relative to the resource directory
  llvm::StringRef RelativePath;

  // Raw byte content of the resource directory file.
  llvm::StringRef FileContent;
};

// Return an array of files which should be available in the clang resource
// directory. Generated by cmake.
llvm::ArrayRef<ResourceDirResource> getResourceDirectoryFiles();

} // namespace COMGR

#endif // COMGR_RESOURCE_DIRECTORY_H
