Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:36:27

0001 //===--- APINotesOptions.h --------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_CLANG_APINOTES_APINOTESOPTIONS_H
0010 #define LLVM_CLANG_APINOTES_APINOTESOPTIONS_H
0011 
0012 #include "llvm/Support/VersionTuple.h"
0013 #include <string>
0014 #include <vector>
0015 
0016 namespace clang {
0017 
0018 /// Tracks various options which control how API notes are found and handled.
0019 class APINotesOptions {
0020 public:
0021   /// The Swift version which should be used for API notes.
0022   llvm::VersionTuple SwiftVersion;
0023 
0024   /// The set of search paths where we API notes can be found for particular
0025   /// modules.
0026   ///
0027   /// The API notes in this directory are stored as <ModuleName>.apinotes, and
0028   /// are only applied when building the module <ModuleName>.
0029   std::vector<std::string> ModuleSearchPaths;
0030 };
0031 
0032 } // namespace clang
0033 
0034 #endif // LLVM_CLANG_APINOTES_APINOTESOPTIONS_H