FileSystemOptions.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. //===--- FileSystemOptions.h - File System Options --------------*- C++ -*-===//
  7. //
  8. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  9. // See https://llvm.org/LICENSE.txt for license information.
  10. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  11. //
  12. //===----------------------------------------------------------------------===//
  13. ///
  14. /// \file
  15. /// Defines the clang::FileSystemOptions interface.
  16. ///
  17. //===----------------------------------------------------------------------===//
  18. #ifndef LLVM_CLANG_BASIC_FILESYSTEMOPTIONS_H
  19. #define LLVM_CLANG_BASIC_FILESYSTEMOPTIONS_H
  20. #include <string>
  21. namespace clang {
  22. /// Keeps track of options that affect how file operations are performed.
  23. class FileSystemOptions {
  24. public:
  25. /// If set, paths are resolved as if the working directory was
  26. /// set to the value of WorkingDir.
  27. std::string WorkingDir;
  28. };
  29. } // end namespace clang
  30. #endif
  31. #ifdef __GNUC__
  32. #pragma GCC diagnostic pop
  33. #endif