Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 04597da

Browse files
authored
Delete //flutter/fml/compiler_specific.h (#54330)
There were two macros for doing identical things and you can do the thing using standard C++17.
1 parent 516235e commit 04597da

25 files changed

+13
-62
lines changed

ci/licenses_golden/licenses_flutter

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41749,7 +41749,6 @@ ORIGIN: ../../../flutter/fml/build_config.h + ../../../flutter/LICENSE
4174941749
ORIGIN: ../../../flutter/fml/closure.h + ../../../flutter/LICENSE
4175041750
ORIGIN: ../../../flutter/fml/command_line.cc + ../../../flutter/LICENSE
4175141751
ORIGIN: ../../../flutter/fml/command_line.h + ../../../flutter/LICENSE
41752-
ORIGIN: ../../../flutter/fml/compiler_specific.h + ../../../flutter/LICENSE
4175341752
ORIGIN: ../../../flutter/fml/concurrent_message_loop.cc + ../../../flutter/LICENSE
4175441753
ORIGIN: ../../../flutter/fml/concurrent_message_loop.h + ../../../flutter/LICENSE
4175541754
ORIGIN: ../../../flutter/fml/concurrent_message_loop_factory.cc + ../../../flutter/LICENSE
@@ -44634,7 +44633,6 @@ FILE: ../../../flutter/fml/build_config.h
4463444633
FILE: ../../../flutter/fml/closure.h
4463544634
FILE: ../../../flutter/fml/command_line.cc
4463644635
FILE: ../../../flutter/fml/command_line.h
44637-
FILE: ../../../flutter/fml/compiler_specific.h
4463844636
FILE: ../../../flutter/fml/concurrent_message_loop.cc
4463944637
FILE: ../../../flutter/fml/concurrent_message_loop.h
4464044638
FILE: ../../../flutter/fml/concurrent_message_loop_factory.cc

flow/layers/layer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "flutter/flow/raster_cache.h"
2020
#include "flutter/flow/stopwatch.h"
2121
#include "flutter/fml/build_config.h"
22-
#include "flutter/fml/compiler_specific.h"
2322
#include "flutter/fml/logging.h"
2423
#include "flutter/fml/macros.h"
2524
#include "flutter/fml/trace_event.h"

fml/BUILD.gn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ source_set("fml") {
1818
"base32.h",
1919
"build_config.h",
2020
"closure.h",
21-
"compiler_specific.h",
2221
"concurrent_message_loop.cc",
2322
"concurrent_message_loop.h",
2423
"container.h",

fml/compiler_specific.h

Lines changed: 0 additions & 29 deletions
This file was deleted.

fml/platform/darwin/scoped_block.h

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

88
#include <Block.h>
99

10-
#include "flutter/fml/compiler_specific.h"
1110
#include "flutter/fml/platform/darwin/scoped_typeref.h"
1211

1312
#if defined(__has_feature) && __has_feature(objc_arc)

fml/platform/darwin/scoped_nsobject.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
// singled out because it is most typically included from other header files.
1414
#import <Foundation/NSObject.h>
1515

16-
#include "flutter/fml/compiler_specific.h"
1716
#include "flutter/fml/macros.h"
1817
#include "flutter/fml/platform/darwin/scoped_typeref.h"
1918

fml/platform/darwin/scoped_typeref.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#ifndef FLUTTER_FML_PLATFORM_DARWIN_SCOPED_TYPEREF_H_
66
#define FLUTTER_FML_PLATFORM_DARWIN_SCOPED_TYPEREF_H_
77

8-
#include "flutter/fml/compiler_specific.h"
98
#include "flutter/fml/platform/darwin/scoped_policy.h"
109

1110
namespace fml {

fml/platform/darwin/weak_nsobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <stdlib.h>
1212

1313
#include <utility>
14-
#include "flutter/fml/compiler_specific.h"
14+
1515
#include "flutter/fml/logging.h"
1616
#include "flutter/fml/memory/ref_counted.h"
1717
#include "flutter/fml/memory/ref_ptr.h"

fml/synchronization/semaphore.h

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

88
#include <memory>
99

10-
#include "flutter/fml/compiler_specific.h"
1110
#include "flutter/fml/macros.h"
1211

1312
namespace fml {

fml/unique_object.h

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

88
#include <utility>
99

10-
#include "flutter/fml/compiler_specific.h"
1110
#include "flutter/fml/logging.h"
1211
#include "flutter/fml/macros.h"
1312

0 commit comments

Comments
 (0)