LLDB mainline
FortranLanguage.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
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#ifndef LLDB_SOURCE_PLUGINS_LANGUAGE_FORTRAN_FORTRANLANGUAGE_H
10#define LLDB_SOURCE_PLUGINS_LANGUAGE_FORTRAN_FORTRANLANGUAGE_H
12
13#include "llvm/ADT/StringRef.h"
14
17#include "lldb/lldb-private.h"
18
19namespace lldb_private {
20
21class FortranLanguage : public Language {
22public:
23 FortranLanguage() = default;
24
25 ~FortranLanguage() override = default;
26
30
31 static void Initialize();
32
33 static void Terminate();
34
36
37 static llvm::StringRef GetPluginNameStatic();
38
39 llvm::StringRef GetPluginName() override;
40
41 uint32_t GetPluginVersion();
42
43 bool IsSourceFile(llvm::StringRef file_path) const override;
44};
45
46} // namespace lldb_private
47
48#endif // LLDB_SOURCE_PLUGINS_LANGUAGE_FORTRAN_FORTRANLANGUAGE_H
lldb::LanguageType GetLanguageType() const override
llvm::StringRef GetPluginName() override
static lldb_private::Language * CreateInstance(lldb::LanguageType language)
~FortranLanguage() override=default
static llvm::StringRef GetPluginNameStatic()
bool IsSourceFile(llvm::StringRef file_path) const override
A class that represents a running process on the host machine.
LanguageType
Programming language type.
@ eLanguageTypeFortran90
ISO Fortran 90.