File tree 6 files changed +10
-10
lines changed
llvm/include/llvm/Support
6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -1182,7 +1182,7 @@ class ExpectedAsOutParameter {
1182
1182
// / (or Expected) and you want to call code that still returns
1183
1183
// / std::error_codes.
1184
1184
class ECError : public ErrorInfo <ECError> {
1185
- LLVM_ABI friend Error errorCodeToError (std::error_code);
1185
+ LLVM_ABI_FRIEND friend Error errorCodeToError (std::error_code);
1186
1186
1187
1187
LLVM_ABI void anchor () override ;
1188
1188
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ class basic_file_status {
220
220
221
221
// / Represents the result of a call to sys::fs::status().
222
222
class file_status : public basic_file_status {
223
- LLVM_ABI friend bool equivalent (file_status A, file_status B);
223
+ LLVM_ABI_FRIEND friend bool equivalent (file_status A, file_status B);
224
224
225
225
#if defined(LLVM_ON_UNIX)
226
226
dev_t fs_st_dev = 0 ;
Original file line number Diff line number Diff line change @@ -531,7 +531,7 @@ class Value {
531
531
llvm::StringRef, std::string, json::Array,
532
532
json::Object>
533
533
Union;
534
- LLVM_ABI friend bool operator ==(const Value &, const Value &);
534
+ LLVM_ABI_FRIEND friend bool operator ==(const Value &, const Value &);
535
535
};
536
536
537
537
LLVM_ABI bool operator ==(const Value &, const Value &);
@@ -713,7 +713,7 @@ class Path::Root {
713
713
llvm::StringLiteral ErrorMessage;
714
714
std::vector<Path::Segment> ErrorPath; // Only valid in error state. Reversed.
715
715
716
- LLVM_ABI friend void Path::report (llvm::StringLiteral Message);
716
+ LLVM_ABI_FRIEND friend void Path::report (llvm::StringLiteral Message);
717
717
718
718
public:
719
719
Root (llvm::StringRef Name = " " ) : Name(Name), ErrorMessage(" " ) {}
Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ class const_iterator
80
80
Style S = Style ::native; // /< The path style to use.
81
81
82
82
// An end iterator has Position = Path.size() + 1.
83
- LLVM_ABI friend const_iterator begin (StringRef path, Style style);
84
- LLVM_ABI friend const_iterator end (StringRef path);
83
+ LLVM_ABI_FRIEND friend const_iterator begin (StringRef path, Style style);
84
+ LLVM_ABI_FRIEND friend const_iterator end (StringRef path);
85
85
86
86
public:
87
87
reference operator *() const { return Component; }
@@ -105,8 +105,8 @@ class reverse_iterator
105
105
size_t Position = 0 ; // /< The iterators current position within Path.
106
106
Style S = Style ::native; // /< The path style to use.
107
107
108
- LLVM_ABI friend reverse_iterator rbegin (StringRef path, Style style);
109
- LLVM_ABI friend reverse_iterator rend (StringRef path);
108
+ LLVM_ABI_FRIEND friend reverse_iterator rbegin (StringRef path, Style style);
109
+ LLVM_ABI_FRIEND friend reverse_iterator rend (StringRef path);
110
110
111
111
public:
112
112
reference operator *() const { return Component; }
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ namespace llvm {
51
51
// / constructed and destructed, they will add their symbolic frames to a
52
52
// / virtual stack trace. This gets dumped out if the program crashes.
53
53
class LLVM_ABI PrettyStackTraceEntry {
54
- LLVM_ABI friend PrettyStackTraceEntry *
54
+ LLVM_ABI_FRIEND friend PrettyStackTraceEntry *
55
55
ReverseStackTrace (PrettyStackTraceEntry *);
56
56
57
57
PrettyStackTraceEntry *NextEntry;
Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ class TimerGroup {
257
257
258
258
private:
259
259
friend class Timer ;
260
- LLVM_ABI friend void PrintStatisticsJSON (raw_ostream &OS);
260
+ LLVM_ABI_FRIEND friend void PrintStatisticsJSON (raw_ostream &OS);
261
261
void addTimer (Timer &T);
262
262
void removeTimer (Timer &T);
263
263
void prepareToPrintList (bool reset_time = false );
You can’t perform that action at this time.
0 commit comments