Skip to content

Commit 40d4f30

Browse files
committed
DLLExport line_iterator
1 parent 19bad2a commit 40d4f30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/include/llvm/Support/LineIterator.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#define LLVM_SUPPORT_LINEITERATOR_H
1111

1212
#include "llvm/ADT/StringRef.h"
13+
#include "llvm/Support/Compiler.h"
1314
#include "llvm/Support/DataTypes.h"
1415
#include "llvm/Support/MemoryBufferRef.h"
1516
#include <iterator>
@@ -30,7 +31,7 @@ class MemoryBuffer;
3031
/// character.
3132
///
3233
/// Note that this iterator requires the buffer to be nul terminated.
33-
class line_iterator {
34+
class LLVM_ABI line_iterator {
3435
std::optional<MemoryBufferRef> Buffer;
3536
char CommentMarker = '\0';
3637
bool SkipBlanks = true;

0 commit comments

Comments
 (0)