Skip to content

Commit a881fa9

Browse files
committed
Renamed .h headers to .hpp
1 parent a4a3485 commit a881fa9

9 files changed

+11
-11
lines changed

ArduinoDiagnosticConsumer.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929

3030
#include <clang/Basic/Diagnostic.h>
3131

32-
#include "ArduinoDiagnosticConsumer.h"
33-
#include "CommandLine.h"
32+
#include "ArduinoDiagnosticConsumer.hpp"
33+
#include "CommandLine.hpp"
3434
#include "JsonImpl.hpp"
3535

3636
using namespace clang;

ArduinoDiagnosticConsumer.h renamed to ArduinoDiagnosticConsumer.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
#include <clang/AST/ASTConsumer.h>
3333

34-
#include "IdentifiersList.h"
34+
#include "IdentifiersList.hpp"
3535

3636
using namespace clang;
3737
using namespace llvm;

CommandLine.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
* the GNU General Public License.
2828
*/
2929

30-
#include "CommandLine.h"
31-
#include "Config.h"
30+
#include "CommandLine.hpp"
31+
#include "Config.hpp"
3232

3333
#include <iostream>
3434

File renamed without changes.

Config.h renamed to Config.hpp

File renamed without changes.

IdentifiersList.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* the GNU General Public License.
2828
*/
2929

30-
#include "IdentifiersList.h"
30+
#include "IdentifiersList.hpp"
3131

3232
void IdentifiersList::dump(ostream &out) {
3333
out << "Undeclared identifiers:\n";
File renamed without changes.

JsonImpl.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
#pragma once
3131

3232
#include <clang/AST/ASTConsumer.h>
33+
#include <clang/Basic/SourceManager.h>
3334
#include <sstream>
3435

3536
using namespace clang;
3637
using namespace std;
3738

3839
#define JSON_NOEXCEPTION
3940
#include "json.hpp"
40-
#include "clang/include/clang/Basic/SourceManager.h"
4141
using json = nlohmann::json;
4242

4343
template<unsigned InternalLen>

main.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
#include <sstream>
4646
#include <list>
4747

48-
#include "ArduinoDiagnosticConsumer.h"
49-
#include "Config.h"
50-
#include "CommandLine.h"
51-
#include "IdentifiersList.h"
48+
#include "ArduinoDiagnosticConsumer.hpp"
49+
#include "Config.hpp"
50+
#include "CommandLine.hpp"
51+
#include "IdentifiersList.hpp"
5252

5353
using namespace clang;
5454
using namespace clang::ast_matchers;

0 commit comments

Comments
 (0)