//===-- SourceLocationSpec.h ------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLDB_UTILITY_SOURCELOCATIONSPEC_H #define LLDB_UTILITY_SOURCELOCATIONSPEC_H #include "lldb/Core/Declaration.h" #include "lldb/lldb-defines.h" #include <optional> #include <string> namespace lldb_private { /// \class SourceLocationSpec SourceLocationSpec.h /// "lldb/Core/SourceLocationSpec.h" A source location specifier class. /// /// A source location specifier class that holds a Declaration object containing /// a FileSpec with line and column information. The column line is optional. /// It also holds search flags that can be fetched by resolvers to look inlined /// declarations and/or exact matches. class SourceLocationSpec { … }; /// Dump a SourceLocationSpec object to a stream Stream &operator<<(Stream &s, const SourceLocationSpec &loc); } // namespace lldb_private #endif // LLDB_UTILITY_SOURCELOCATIONSPEC_H