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