Lines Matching +full:target +full:- +full:module
1 //===-- CxxModuleHandler.h --------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
19 /// Handles importing decls into an ASTContext with an attached C++ module.
21 /// This class searches a C++ module (which must be attached to the target
23 /// If the decl that is found in the module is a suitable replacement
24 /// for the decl that should be imported, the module decl will be treated as
28 /// that doesn't exist yet in the target ASTContext (e.g. `std::vector<int>`),
29 /// then this class tries to create the template specialization in the target
31 /// that instantiating this template is safe to do, e.g. because the target
38 /// The Sema instance of the target ASTContext.
45 /// Tries to manually instantiate the given foreign template in the target
51 CxxModuleHandler(clang::ASTImporter &importer, clang::ASTContext *target);
53 /// Attempts to import the given decl into the target ASTContext by
54 /// deserializing it from the 'std' module. This function returns a Decl if a
55 /// Decl has been deserialized from the 'std' module. Otherwise this function
60 /// in the target ASTContext.