You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Style: Replace header guards with #pragma once
This commit is contained in:
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GDSCRIPT_EXTEND_PARSER_H
|
||||
#define GDSCRIPT_EXTEND_PARSER_H
|
||||
#pragma once
|
||||
|
||||
#include "../gdscript_parser.h"
|
||||
#include "godot_lsp.h"
|
||||
@@ -169,5 +168,3 @@ public:
|
||||
|
||||
Error parse(const String &p_code, const String &p_path);
|
||||
};
|
||||
|
||||
#endif // GDSCRIPT_EXTEND_PARSER_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GDSCRIPT_LANGUAGE_PROTOCOL_H
|
||||
#define GDSCRIPT_LANGUAGE_PROTOCOL_H
|
||||
#pragma once
|
||||
|
||||
#include "gdscript_text_document.h"
|
||||
#include "gdscript_workspace.h"
|
||||
@@ -115,5 +114,3 @@ public:
|
||||
|
||||
GDScriptLanguageProtocol();
|
||||
};
|
||||
|
||||
#endif // GDSCRIPT_LANGUAGE_PROTOCOL_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GDSCRIPT_LANGUAGE_SERVER_H
|
||||
#define GDSCRIPT_LANGUAGE_SERVER_H
|
||||
#pragma once
|
||||
|
||||
#include "gdscript_language_protocol.h"
|
||||
|
||||
@@ -60,5 +59,3 @@ public:
|
||||
};
|
||||
|
||||
void register_lsp_types();
|
||||
|
||||
#endif // GDSCRIPT_LANGUAGE_SERVER_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GDSCRIPT_TEXT_DOCUMENT_H
|
||||
#define GDSCRIPT_TEXT_DOCUMENT_H
|
||||
#pragma once
|
||||
|
||||
#include "godot_lsp.h"
|
||||
|
||||
@@ -83,5 +82,3 @@ public:
|
||||
|
||||
GDScriptTextDocument();
|
||||
};
|
||||
|
||||
#endif // GDSCRIPT_TEXT_DOCUMENT_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GDSCRIPT_WORKSPACE_H
|
||||
#define GDSCRIPT_WORKSPACE_H
|
||||
#pragma once
|
||||
|
||||
#include "../gdscript_parser.h"
|
||||
#include "gdscript_extend_parser.h"
|
||||
@@ -100,5 +99,3 @@ public:
|
||||
GDScriptWorkspace();
|
||||
~GDScriptWorkspace();
|
||||
};
|
||||
|
||||
#endif // GDSCRIPT_WORKSPACE_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GODOT_LSP_H
|
||||
#define GODOT_LSP_H
|
||||
#pragma once
|
||||
|
||||
#include "core/doc_data.h"
|
||||
#include "core/object/class_db.h"
|
||||
@@ -1954,5 +1953,3 @@ static String marked_documentation(const String &p_bbcode) {
|
||||
return markdown;
|
||||
}
|
||||
} // namespace lsp
|
||||
|
||||
#endif // GODOT_LSP_H
|
||||
|
||||
Reference in New Issue
Block a user