Skip to content

Commit 01ff8a8

Browse files
authored
Add include antlr4-common.h to files using symbols from it. (#4792)
All files using * `ANTLR4CPP_PUBLIC` * `ANTLR4CPP_USING_ABSEIL` * `ANTLR4CPP_HAVE_BUILTIN` * `INVALID_INDEX` * `Ref` * `ssize_t` ... and not yet directly including `antlr4-common.h` Signed-off-by: Henner Zeller <[email protected]>
1 parent af7edc5 commit 01ff8a8

File tree

166 files changed

+166
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+166
-0
lines changed

runtime/Cpp/runtime/src/ANTLRErrorListener.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <string>
99
#include <cstddef>
10+
#include "antlr4-common.h"
1011
#include "RecognitionException.h"
1112

1213
namespace antlrcpp {

runtime/Cpp/runtime/src/ANTLRErrorStrategy.h

100755100644
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#pragma once
77

8+
#include "antlr4-common.h"
89
#include "Token.h"
910

1011
namespace antlr4 {

runtime/Cpp/runtime/src/ANTLRFileStream.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <string>
99
#include <cstddef>
10+
#include "antlr4-common.h"
1011
#include "ANTLRInputStream.h"
1112

1213
namespace antlr4 {

runtime/Cpp/runtime/src/ANTLRInputStream.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <string.h>
1010

1111
#include "Exceptions.h"
12+
#include "antlr4-common.h"
1213
#include "misc/Interval.h"
1314
#include "IntStream.h"
1415

runtime/Cpp/runtime/src/ANTLRInputStream.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <cstddef>
1010
#include <string_view>
1111

12+
#include "antlr4-common.h"
1213
#include "CharStream.h"
1314

1415
namespace antlr4 {

runtime/Cpp/runtime/src/BailErrorStrategy.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#pragma once
77

8+
#include "antlr4-common.h"
89
#include "DefaultErrorStrategy.h"
910

1011
namespace antlr4 {

runtime/Cpp/runtime/src/BaseErrorListener.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <string>
99
#include <cstddef>
10+
#include "antlr4-common.h"
1011
#include "ANTLRErrorListener.h"
1112

1213
namespace antlrcpp {

runtime/Cpp/runtime/src/BufferedTokenStream.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <vector>
1010
#include <cstddef>
1111
#include "WritableToken.h"
12+
#include "antlr4-common.h"
1213
#include "Lexer.h"
1314
#include "RuleContext.h"
1415
#include "misc/Interval.h"

runtime/Cpp/runtime/src/BufferedTokenStream.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <vector>
1010
#include <string>
1111
#include <cstddef>
12+
#include "antlr4-common.h"
1213
#include "TokenStream.h"
1314

1415
namespace antlr4 {

runtime/Cpp/runtime/src/CharStream.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <string>
99
#include "IntStream.h"
10+
#include "antlr4-common.h"
1011
#include "misc/Interval.h"
1112

1213
namespace antlr4 {

0 commit comments

Comments
 (0)