Skip to content

Commit 3609b44

Browse files
Use pragma once in WTF
https://bugs.webkit.org/show_bug.cgi?id=190527 Reviewed by Chris Dumez. Source/WTF: We also need to consistently include wtf headers from within wtf so we can build wtf without symbol redefinition errors from including the copy in Source and the copy in the build directory. * wtf/ASCIICType.h: * wtf/Assertions.cpp: * wtf/Assertions.h: * wtf/Atomics.h: * wtf/AutomaticThread.cpp: * wtf/AutomaticThread.h: * wtf/BackwardsGraph.h: * wtf/Bag.h: * wtf/BagToHashMap.h: * wtf/BitVector.cpp: * wtf/BitVector.h: * wtf/Bitmap.h: * wtf/BloomFilter.h: * wtf/Box.h: * wtf/BubbleSort.h: * wtf/BumpPointerAllocator.h: * wtf/ByteOrder.h: * wtf/CPUTime.cpp: * wtf/CallbackAggregator.h: * wtf/CheckedArithmetic.h: * wtf/CheckedBoolean.h: * wtf/ClockType.cpp: * wtf/ClockType.h: * wtf/CommaPrinter.h: * wtf/CompilationThread.cpp: * wtf/CompilationThread.h: * wtf/Compiler.h: * wtf/ConcurrentPtrHashSet.cpp: * wtf/ConcurrentVector.h: * wtf/Condition.h: * wtf/CountingLock.cpp: * wtf/CrossThreadTaskHandler.cpp: * wtf/CryptographicUtilities.cpp: * wtf/CryptographicUtilities.h: * wtf/CryptographicallyRandomNumber.cpp: * wtf/CryptographicallyRandomNumber.h: * wtf/CurrentTime.cpp: * wtf/DataLog.cpp: * wtf/DataLog.h: * wtf/DateMath.cpp: * wtf/DateMath.h: * wtf/DecimalNumber.cpp: * wtf/DecimalNumber.h: * wtf/Deque.h: * wtf/DisallowCType.h: * wtf/Dominators.h: * wtf/DoublyLinkedList.h: * wtf/FastBitVector.cpp: * wtf/FastMalloc.cpp: * wtf/FastMalloc.h: * wtf/FeatureDefines.h: * wtf/FilePrintStream.cpp: * wtf/FilePrintStream.h: * wtf/FlipBytes.h: * wtf/FunctionDispatcher.cpp: * wtf/FunctionDispatcher.h: * wtf/GetPtr.h: * wtf/Gigacage.cpp: * wtf/GlobalVersion.cpp: * wtf/GraphNodeWorklist.h: * wtf/GregorianDateTime.cpp: * wtf/GregorianDateTime.h: * wtf/HashFunctions.h: * wtf/HashMap.h: * wtf/HashMethod.h: * wtf/HashSet.h: * wtf/HashTable.cpp: * wtf/HashTraits.h: * wtf/Indenter.h: * wtf/IndexSparseSet.h: * wtf/InlineASM.h: * wtf/Insertion.h: * wtf/IteratorAdaptors.h: * wtf/IteratorRange.h: * wtf/JSONValues.cpp: * wtf/JSValueMalloc.cpp: * wtf/LEBDecoder.h: * wtf/Language.cpp: * wtf/ListDump.h: * wtf/Lock.cpp: * wtf/Lock.h: * wtf/LockAlgorithm.h: * wtf/LockedPrintStream.cpp: * wtf/Locker.h: * wtf/MD5.cpp: * wtf/MD5.h: * wtf/MainThread.cpp: * wtf/MainThread.h: * wtf/MallocPtr.h: * wtf/MathExtras.h: * wtf/MediaTime.cpp: * wtf/MediaTime.h: * wtf/MemoryPressureHandler.cpp: * wtf/MessageQueue.h: * wtf/MetaAllocator.cpp: * wtf/MetaAllocator.h: * wtf/MetaAllocatorHandle.h: * wtf/MonotonicTime.cpp: * wtf/MonotonicTime.h: * wtf/NakedPtr.h: * wtf/NoLock.h: * wtf/NoTailCalls.h: * wtf/Noncopyable.h: * wtf/NumberOfCores.cpp: * wtf/NumberOfCores.h: * wtf/OSAllocator.h: * wtf/OSAllocatorPosix.cpp: * wtf/OSRandomSource.cpp: * wtf/OSRandomSource.h: * wtf/ObjcRuntimeExtras.h: * wtf/OrderMaker.h: * wtf/PackedIntVector.h: * wtf/PageAllocation.h: * wtf/PageBlock.cpp: * wtf/PageBlock.h: * wtf/PageReservation.h: * wtf/ParallelHelperPool.cpp: * wtf/ParallelHelperPool.h: * wtf/ParallelJobs.h: * wtf/ParallelJobsLibdispatch.h: * wtf/ParallelVectorIterator.h: * wtf/ParkingLot.cpp: * wtf/ParkingLot.h: * wtf/Platform.h: * wtf/PointerComparison.h: * wtf/Poisoned.cpp: * wtf/PrintStream.cpp: * wtf/PrintStream.h: * wtf/ProcessID.h: * wtf/ProcessPrivilege.cpp: * wtf/RAMSize.cpp: * wtf/RAMSize.h: * wtf/RandomDevice.cpp: * wtf/RandomNumber.cpp: * wtf/RandomNumber.h: * wtf/RandomNumberSeed.h: * wtf/RangeSet.h: * wtf/RawPointer.h: * wtf/ReadWriteLock.cpp: * wtf/RedBlackTree.h: * wtf/Ref.h: * wtf/RefCountedArray.h: * wtf/RefCountedLeakCounter.cpp: * wtf/RefCountedLeakCounter.h: * wtf/RefCounter.h: * wtf/RefPtr.h: * wtf/RetainPtr.h: * wtf/RunLoop.cpp: * wtf/RunLoop.h: * wtf/RunLoopTimer.h: * wtf/RunLoopTimerCF.cpp: * wtf/SHA1.cpp: * wtf/SHA1.h: * wtf/SaturatedArithmetic.h: (saturatedSubtraction): * wtf/SchedulePair.h: * wtf/SchedulePairCF.cpp: * wtf/SchedulePairMac.mm: * wtf/ScopedLambda.h: * wtf/Seconds.cpp: * wtf/Seconds.h: * wtf/SegmentedVector.h: * wtf/SentinelLinkedList.h: * wtf/SharedTask.h: * wtf/SimpleStats.h: * wtf/SingleRootGraph.h: * wtf/SinglyLinkedList.h: * wtf/SixCharacterHash.cpp: * wtf/SixCharacterHash.h: * wtf/SmallPtrSet.h: * wtf/Spectrum.h: * wtf/StackBounds.cpp: * wtf/StackBounds.h: * wtf/StackStats.cpp: * wtf/StackStats.h: * wtf/StackTrace.cpp: * wtf/StdLibExtras.h: * wtf/StreamBuffer.h: * wtf/StringHashDumpContext.h: * wtf/StringPrintStream.cpp: * wtf/StringPrintStream.h: * wtf/ThreadGroup.cpp: * wtf/ThreadMessage.cpp: * wtf/ThreadSpecific.h: * wtf/Threading.cpp: * wtf/Threading.h: * wtf/ThreadingPrimitives.h: * wtf/ThreadingPthreads.cpp: * wtf/TimeWithDynamicClockType.cpp: * wtf/TimeWithDynamicClockType.h: * wtf/TimingScope.cpp: * wtf/TinyLRUCache.h: * wtf/TinyPtrSet.h: * wtf/TriState.h: * wtf/TypeCasts.h: * wtf/UUID.cpp: * wtf/UnionFind.h: * wtf/VMTags.h: * wtf/ValueCheck.h: * wtf/Vector.h: * wtf/VectorTraits.h: * wtf/WallTime.cpp: * wtf/WallTime.h: * wtf/WeakPtr.h: * wtf/WeakRandom.h: * wtf/WordLock.cpp: * wtf/WordLock.h: * wtf/WorkQueue.cpp: * wtf/WorkQueue.h: * wtf/WorkerPool.cpp: * wtf/cf/LanguageCF.cpp: * wtf/cf/RunLoopCF.cpp: * wtf/cocoa/Entitlements.mm: * wtf/cocoa/MachSendRight.cpp: * wtf/cocoa/MainThreadCocoa.mm: * wtf/cocoa/MemoryFootprintCocoa.cpp: * wtf/cocoa/WorkQueueCocoa.cpp: * wtf/dtoa.cpp: * wtf/dtoa.h: * wtf/ios/WebCoreThread.cpp: * wtf/ios/WebCoreThread.h: * wtf/mac/AppKitCompatibilityDeclarations.h: * wtf/mac/DeprecatedSymbolsUsedBySafari.mm: * wtf/mbmalloc.cpp: * wtf/persistence/PersistentCoders.cpp: * wtf/persistence/PersistentDecoder.cpp: * wtf/persistence/PersistentEncoder.cpp: * wtf/spi/cf/CFBundleSPI.h: * wtf/spi/darwin/CommonCryptoSPI.h: * wtf/text/ASCIIFastPath.h: * wtf/text/ASCIILiteral.cpp: * wtf/text/AtomicString.cpp: * wtf/text/AtomicString.h: * wtf/text/AtomicStringHash.h: * wtf/text/AtomicStringImpl.cpp: * wtf/text/AtomicStringImpl.h: * wtf/text/AtomicStringTable.cpp: * wtf/text/AtomicStringTable.h: * wtf/text/Base64.cpp: * wtf/text/CString.cpp: * wtf/text/CString.h: * wtf/text/ConversionMode.h: * wtf/text/ExternalStringImpl.cpp: * wtf/text/IntegerToStringConversion.h: * wtf/text/LChar.h: * wtf/text/LineEnding.cpp: * wtf/text/StringBuffer.h: * wtf/text/StringBuilder.cpp: * wtf/text/StringBuilder.h: * wtf/text/StringBuilderJSON.cpp: * wtf/text/StringCommon.h: * wtf/text/StringConcatenate.h: * wtf/text/StringHash.h: * wtf/text/StringImpl.cpp: * wtf/text/StringImpl.h: * wtf/text/StringOperators.h: * wtf/text/StringView.cpp: * wtf/text/StringView.h: * wtf/text/SymbolImpl.cpp: * wtf/text/SymbolRegistry.cpp: * wtf/text/SymbolRegistry.h: * wtf/text/TextBreakIterator.cpp: * wtf/text/TextBreakIterator.h: * wtf/text/TextBreakIteratorInternalICU.h: * wtf/text/TextPosition.h: * wtf/text/TextStream.cpp: * wtf/text/UniquedStringImpl.h: * wtf/text/WTFString.cpp: * wtf/text/WTFString.h: * wtf/text/cocoa/StringCocoa.mm: * wtf/text/cocoa/StringViewCocoa.mm: * wtf/text/cocoa/TextBreakIteratorInternalICUCocoa.cpp: * wtf/text/icu/UTextProvider.cpp: * wtf/text/icu/UTextProvider.h: * wtf/text/icu/UTextProviderLatin1.cpp: * wtf/text/icu/UTextProviderLatin1.h: * wtf/text/icu/UTextProviderUTF16.cpp: * wtf/text/icu/UTextProviderUTF16.h: * wtf/threads/BinarySemaphore.cpp: * wtf/threads/BinarySemaphore.h: * wtf/threads/Signals.cpp: * wtf/unicode/CharacterNames.h: * wtf/unicode/Collator.h: * wtf/unicode/CollatorDefault.cpp: * wtf/unicode/UTF8.cpp: * wtf/unicode/UTF8.h: Tools: Put WorkQueue in namespace DRT so it does not conflict with WTF::WorkQueue. * DumpRenderTree/TestRunner.cpp: (TestRunner::queueLoadHTMLString): (TestRunner::queueLoadAlternateHTMLString): (TestRunner::queueBackNavigation): (TestRunner::queueForwardNavigation): (TestRunner::queueLoadingScript): (TestRunner::queueNonLoadingScript): (TestRunner::queueReload): * DumpRenderTree/WorkQueue.cpp: (WorkQueue::singleton): Deleted. (WorkQueue::WorkQueue): Deleted. (WorkQueue::queue): Deleted. (WorkQueue::dequeue): Deleted. (WorkQueue::count): Deleted. (WorkQueue::clear): Deleted. (WorkQueue::processWork): Deleted. * DumpRenderTree/WorkQueue.h: (WorkQueue::setFrozen): Deleted. * DumpRenderTree/WorkQueueItem.h: * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): * DumpRenderTree/mac/FrameLoadDelegate.mm: (-[FrameLoadDelegate processWork:]): (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]): * DumpRenderTree/mac/TestRunnerMac.mm: (TestRunner::notifyDone): (TestRunner::forceImmediateCompletion): (TestRunner::queueLoad): * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): * DumpRenderTree/win/FrameLoadDelegate.cpp: (FrameLoadDelegate::processWork): (FrameLoadDelegate::locationChangeDone): * DumpRenderTree/win/TestRunnerWin.cpp: (TestRunner::notifyDone): (TestRunner::forceImmediateCompletion): (TestRunner::queueLoad): Canonical link: https://commits.webkit.org/205473@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 569027a commit 3609b44

325 files changed

Lines changed: 802 additions & 1001 deletions

File tree

Some content is hidden

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

Source/WTF/ChangeLog

Lines changed: 297 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,300 @@
1+
2018-10-15 Alex Christensen <achristensen@webkit.org>
2+
3+
Use pragma once in WTF
4+
https://bugs.webkit.org/show_bug.cgi?id=190527
5+
6+
Reviewed by Chris Dumez.
7+
8+
We also need to consistently include wtf headers from within wtf so we can build wtf without
9+
symbol redefinition errors from including the copy in Source and the copy in the build directory.
10+
11+
* wtf/ASCIICType.h:
12+
* wtf/Assertions.cpp:
13+
* wtf/Assertions.h:
14+
* wtf/Atomics.h:
15+
* wtf/AutomaticThread.cpp:
16+
* wtf/AutomaticThread.h:
17+
* wtf/BackwardsGraph.h:
18+
* wtf/Bag.h:
19+
* wtf/BagToHashMap.h:
20+
* wtf/BitVector.cpp:
21+
* wtf/BitVector.h:
22+
* wtf/Bitmap.h:
23+
* wtf/BloomFilter.h:
24+
* wtf/Box.h:
25+
* wtf/BubbleSort.h:
26+
* wtf/BumpPointerAllocator.h:
27+
* wtf/ByteOrder.h:
28+
* wtf/CPUTime.cpp:
29+
* wtf/CallbackAggregator.h:
30+
* wtf/CheckedArithmetic.h:
31+
* wtf/CheckedBoolean.h:
32+
* wtf/ClockType.cpp:
33+
* wtf/ClockType.h:
34+
* wtf/CommaPrinter.h:
35+
* wtf/CompilationThread.cpp:
36+
* wtf/CompilationThread.h:
37+
* wtf/Compiler.h:
38+
* wtf/ConcurrentPtrHashSet.cpp:
39+
* wtf/ConcurrentVector.h:
40+
* wtf/Condition.h:
41+
* wtf/CountingLock.cpp:
42+
* wtf/CrossThreadTaskHandler.cpp:
43+
* wtf/CryptographicUtilities.cpp:
44+
* wtf/CryptographicUtilities.h:
45+
* wtf/CryptographicallyRandomNumber.cpp:
46+
* wtf/CryptographicallyRandomNumber.h:
47+
* wtf/CurrentTime.cpp:
48+
* wtf/DataLog.cpp:
49+
* wtf/DataLog.h:
50+
* wtf/DateMath.cpp:
51+
* wtf/DateMath.h:
52+
* wtf/DecimalNumber.cpp:
53+
* wtf/DecimalNumber.h:
54+
* wtf/Deque.h:
55+
* wtf/DisallowCType.h:
56+
* wtf/Dominators.h:
57+
* wtf/DoublyLinkedList.h:
58+
* wtf/FastBitVector.cpp:
59+
* wtf/FastMalloc.cpp:
60+
* wtf/FastMalloc.h:
61+
* wtf/FeatureDefines.h:
62+
* wtf/FilePrintStream.cpp:
63+
* wtf/FilePrintStream.h:
64+
* wtf/FlipBytes.h:
65+
* wtf/FunctionDispatcher.cpp:
66+
* wtf/FunctionDispatcher.h:
67+
* wtf/GetPtr.h:
68+
* wtf/Gigacage.cpp:
69+
* wtf/GlobalVersion.cpp:
70+
* wtf/GraphNodeWorklist.h:
71+
* wtf/GregorianDateTime.cpp:
72+
* wtf/GregorianDateTime.h:
73+
* wtf/HashFunctions.h:
74+
* wtf/HashMap.h:
75+
* wtf/HashMethod.h:
76+
* wtf/HashSet.h:
77+
* wtf/HashTable.cpp:
78+
* wtf/HashTraits.h:
79+
* wtf/Indenter.h:
80+
* wtf/IndexSparseSet.h:
81+
* wtf/InlineASM.h:
82+
* wtf/Insertion.h:
83+
* wtf/IteratorAdaptors.h:
84+
* wtf/IteratorRange.h:
85+
* wtf/JSONValues.cpp:
86+
* wtf/JSValueMalloc.cpp:
87+
* wtf/LEBDecoder.h:
88+
* wtf/Language.cpp:
89+
* wtf/ListDump.h:
90+
* wtf/Lock.cpp:
91+
* wtf/Lock.h:
92+
* wtf/LockAlgorithm.h:
93+
* wtf/LockedPrintStream.cpp:
94+
* wtf/Locker.h:
95+
* wtf/MD5.cpp:
96+
* wtf/MD5.h:
97+
* wtf/MainThread.cpp:
98+
* wtf/MainThread.h:
99+
* wtf/MallocPtr.h:
100+
* wtf/MathExtras.h:
101+
* wtf/MediaTime.cpp:
102+
* wtf/MediaTime.h:
103+
* wtf/MemoryPressureHandler.cpp:
104+
* wtf/MessageQueue.h:
105+
* wtf/MetaAllocator.cpp:
106+
* wtf/MetaAllocator.h:
107+
* wtf/MetaAllocatorHandle.h:
108+
* wtf/MonotonicTime.cpp:
109+
* wtf/MonotonicTime.h:
110+
* wtf/NakedPtr.h:
111+
* wtf/NoLock.h:
112+
* wtf/NoTailCalls.h:
113+
* wtf/Noncopyable.h:
114+
* wtf/NumberOfCores.cpp:
115+
* wtf/NumberOfCores.h:
116+
* wtf/OSAllocator.h:
117+
* wtf/OSAllocatorPosix.cpp:
118+
* wtf/OSRandomSource.cpp:
119+
* wtf/OSRandomSource.h:
120+
* wtf/ObjcRuntimeExtras.h:
121+
* wtf/OrderMaker.h:
122+
* wtf/PackedIntVector.h:
123+
* wtf/PageAllocation.h:
124+
* wtf/PageBlock.cpp:
125+
* wtf/PageBlock.h:
126+
* wtf/PageReservation.h:
127+
* wtf/ParallelHelperPool.cpp:
128+
* wtf/ParallelHelperPool.h:
129+
* wtf/ParallelJobs.h:
130+
* wtf/ParallelJobsLibdispatch.h:
131+
* wtf/ParallelVectorIterator.h:
132+
* wtf/ParkingLot.cpp:
133+
* wtf/ParkingLot.h:
134+
* wtf/Platform.h:
135+
* wtf/PointerComparison.h:
136+
* wtf/Poisoned.cpp:
137+
* wtf/PrintStream.cpp:
138+
* wtf/PrintStream.h:
139+
* wtf/ProcessID.h:
140+
* wtf/ProcessPrivilege.cpp:
141+
* wtf/RAMSize.cpp:
142+
* wtf/RAMSize.h:
143+
* wtf/RandomDevice.cpp:
144+
* wtf/RandomNumber.cpp:
145+
* wtf/RandomNumber.h:
146+
* wtf/RandomNumberSeed.h:
147+
* wtf/RangeSet.h:
148+
* wtf/RawPointer.h:
149+
* wtf/ReadWriteLock.cpp:
150+
* wtf/RedBlackTree.h:
151+
* wtf/Ref.h:
152+
* wtf/RefCountedArray.h:
153+
* wtf/RefCountedLeakCounter.cpp:
154+
* wtf/RefCountedLeakCounter.h:
155+
* wtf/RefCounter.h:
156+
* wtf/RefPtr.h:
157+
* wtf/RetainPtr.h:
158+
* wtf/RunLoop.cpp:
159+
* wtf/RunLoop.h:
160+
* wtf/RunLoopTimer.h:
161+
* wtf/RunLoopTimerCF.cpp:
162+
* wtf/SHA1.cpp:
163+
* wtf/SHA1.h:
164+
* wtf/SaturatedArithmetic.h:
165+
(saturatedSubtraction):
166+
* wtf/SchedulePair.h:
167+
* wtf/SchedulePairCF.cpp:
168+
* wtf/SchedulePairMac.mm:
169+
* wtf/ScopedLambda.h:
170+
* wtf/Seconds.cpp:
171+
* wtf/Seconds.h:
172+
* wtf/SegmentedVector.h:
173+
* wtf/SentinelLinkedList.h:
174+
* wtf/SharedTask.h:
175+
* wtf/SimpleStats.h:
176+
* wtf/SingleRootGraph.h:
177+
* wtf/SinglyLinkedList.h:
178+
* wtf/SixCharacterHash.cpp:
179+
* wtf/SixCharacterHash.h:
180+
* wtf/SmallPtrSet.h:
181+
* wtf/Spectrum.h:
182+
* wtf/StackBounds.cpp:
183+
* wtf/StackBounds.h:
184+
* wtf/StackStats.cpp:
185+
* wtf/StackStats.h:
186+
* wtf/StackTrace.cpp:
187+
* wtf/StdLibExtras.h:
188+
* wtf/StreamBuffer.h:
189+
* wtf/StringHashDumpContext.h:
190+
* wtf/StringPrintStream.cpp:
191+
* wtf/StringPrintStream.h:
192+
* wtf/ThreadGroup.cpp:
193+
* wtf/ThreadMessage.cpp:
194+
* wtf/ThreadSpecific.h:
195+
* wtf/Threading.cpp:
196+
* wtf/Threading.h:
197+
* wtf/ThreadingPrimitives.h:
198+
* wtf/ThreadingPthreads.cpp:
199+
* wtf/TimeWithDynamicClockType.cpp:
200+
* wtf/TimeWithDynamicClockType.h:
201+
* wtf/TimingScope.cpp:
202+
* wtf/TinyLRUCache.h:
203+
* wtf/TinyPtrSet.h:
204+
* wtf/TriState.h:
205+
* wtf/TypeCasts.h:
206+
* wtf/UUID.cpp:
207+
* wtf/UnionFind.h:
208+
* wtf/VMTags.h:
209+
* wtf/ValueCheck.h:
210+
* wtf/Vector.h:
211+
* wtf/VectorTraits.h:
212+
* wtf/WallTime.cpp:
213+
* wtf/WallTime.h:
214+
* wtf/WeakPtr.h:
215+
* wtf/WeakRandom.h:
216+
* wtf/WordLock.cpp:
217+
* wtf/WordLock.h:
218+
* wtf/WorkQueue.cpp:
219+
* wtf/WorkQueue.h:
220+
* wtf/WorkerPool.cpp:
221+
* wtf/cf/LanguageCF.cpp:
222+
* wtf/cf/RunLoopCF.cpp:
223+
* wtf/cocoa/Entitlements.mm:
224+
* wtf/cocoa/MachSendRight.cpp:
225+
* wtf/cocoa/MainThreadCocoa.mm:
226+
* wtf/cocoa/MemoryFootprintCocoa.cpp:
227+
* wtf/cocoa/WorkQueueCocoa.cpp:
228+
* wtf/dtoa.cpp:
229+
* wtf/dtoa.h:
230+
* wtf/ios/WebCoreThread.cpp:
231+
* wtf/ios/WebCoreThread.h:
232+
* wtf/mac/AppKitCompatibilityDeclarations.h:
233+
* wtf/mac/DeprecatedSymbolsUsedBySafari.mm:
234+
* wtf/mbmalloc.cpp:
235+
* wtf/persistence/PersistentCoders.cpp:
236+
* wtf/persistence/PersistentDecoder.cpp:
237+
* wtf/persistence/PersistentEncoder.cpp:
238+
* wtf/spi/cf/CFBundleSPI.h:
239+
* wtf/spi/darwin/CommonCryptoSPI.h:
240+
* wtf/text/ASCIIFastPath.h:
241+
* wtf/text/ASCIILiteral.cpp:
242+
* wtf/text/AtomicString.cpp:
243+
* wtf/text/AtomicString.h:
244+
* wtf/text/AtomicStringHash.h:
245+
* wtf/text/AtomicStringImpl.cpp:
246+
* wtf/text/AtomicStringImpl.h:
247+
* wtf/text/AtomicStringTable.cpp:
248+
* wtf/text/AtomicStringTable.h:
249+
* wtf/text/Base64.cpp:
250+
* wtf/text/CString.cpp:
251+
* wtf/text/CString.h:
252+
* wtf/text/ConversionMode.h:
253+
* wtf/text/ExternalStringImpl.cpp:
254+
* wtf/text/IntegerToStringConversion.h:
255+
* wtf/text/LChar.h:
256+
* wtf/text/LineEnding.cpp:
257+
* wtf/text/StringBuffer.h:
258+
* wtf/text/StringBuilder.cpp:
259+
* wtf/text/StringBuilder.h:
260+
* wtf/text/StringBuilderJSON.cpp:
261+
* wtf/text/StringCommon.h:
262+
* wtf/text/StringConcatenate.h:
263+
* wtf/text/StringHash.h:
264+
* wtf/text/StringImpl.cpp:
265+
* wtf/text/StringImpl.h:
266+
* wtf/text/StringOperators.h:
267+
* wtf/text/StringView.cpp:
268+
* wtf/text/StringView.h:
269+
* wtf/text/SymbolImpl.cpp:
270+
* wtf/text/SymbolRegistry.cpp:
271+
* wtf/text/SymbolRegistry.h:
272+
* wtf/text/TextBreakIterator.cpp:
273+
* wtf/text/TextBreakIterator.h:
274+
* wtf/text/TextBreakIteratorInternalICU.h:
275+
* wtf/text/TextPosition.h:
276+
* wtf/text/TextStream.cpp:
277+
* wtf/text/UniquedStringImpl.h:
278+
* wtf/text/WTFString.cpp:
279+
* wtf/text/WTFString.h:
280+
* wtf/text/cocoa/StringCocoa.mm:
281+
* wtf/text/cocoa/StringViewCocoa.mm:
282+
* wtf/text/cocoa/TextBreakIteratorInternalICUCocoa.cpp:
283+
* wtf/text/icu/UTextProvider.cpp:
284+
* wtf/text/icu/UTextProvider.h:
285+
* wtf/text/icu/UTextProviderLatin1.cpp:
286+
* wtf/text/icu/UTextProviderLatin1.h:
287+
* wtf/text/icu/UTextProviderUTF16.cpp:
288+
* wtf/text/icu/UTextProviderUTF16.h:
289+
* wtf/threads/BinarySemaphore.cpp:
290+
* wtf/threads/BinarySemaphore.h:
291+
* wtf/threads/Signals.cpp:
292+
* wtf/unicode/CharacterNames.h:
293+
* wtf/unicode/Collator.h:
294+
* wtf/unicode/CollatorDefault.cpp:
295+
* wtf/unicode/UTF8.cpp:
296+
* wtf/unicode/UTF8.h:
297+
1298
2018-10-12 Alex Christensen <achristensen@webkit.org>
2299

3300
Allow encoding of small enum classes

Source/WTF/wtf/ASCIICType.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2727
*/
2828

29-
#ifndef WTF_ASCIICType_h
30-
#define WTF_ASCIICType_h
29+
#pragma once
3130

3231
#include <wtf/Assertions.h>
3332
#include <wtf/text/LChar.h>
@@ -275,5 +274,3 @@ using WTF::toASCIILowerUnchecked;
275274
using WTF::toASCIIUpper;
276275
using WTF::upperNibbleToASCIIHexDigit;
277276
using WTF::upperNibbleToLowercaseASCIIHexDigit;
278-
279-
#endif

Source/WTF/wtf/Assertions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
#pragma GCC diagnostic ignored "-Wmissing-format-attribute"
3333

3434
#include "config.h"
35-
#include "Assertions.h"
35+
#include <wtf/Assertions.h>
3636

37-
#include "Compiler.h"
3837
#include <mutex>
3938
#include <stdio.h>
4039
#include <string.h>
40+
#include <wtf/Compiler.h>
4141
#include <wtf/Lock.h>
4242
#include <wtf/Locker.h>
4343
#include <wtf/LoggingAccumulator.h>

Source/WTF/wtf/Assertions.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2424
*/
2525

26-
#ifndef WTF_Assertions_h
27-
#define WTF_Assertions_h
26+
#pragma once
2827

2928
#include <wtf/Platform.h>
3029

@@ -613,5 +612,3 @@ IGNORE_CLANG_WARNINGS_END
613612
#else
614613
#define UNREACHABLE_FOR_PLATFORM() RELEASE_ASSERT_NOT_REACHED()
615614
#endif
616-
617-
#endif /* WTF_Assertions_h */

Source/WTF/wtf/Atomics.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2424
*/
2525

26-
#ifndef Atomics_h
27-
#define Atomics_h
26+
#pragma once
2827

2928
#include <atomic>
3029
#include <wtf/StdLibExtras.h>
@@ -452,5 +451,3 @@ using WTF::InputAndValue;
452451
using WTF::inputAndValue;
453452
using WTF::ensurePointer;
454453
using WTF::opaqueMixture;
455-
456-
#endif // Atomics_h

Source/WTF/wtf/AutomaticThread.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
*/
2525

2626
#include "config.h"
27-
#include "AutomaticThread.h"
27+
#include <wtf/AutomaticThread.h>
2828

29-
#include "DataLog.h"
30-
#include "Threading.h"
29+
#include <wtf/DataLog.h>
30+
#include <wtf/Threading.h>
3131

3232
namespace WTF {
3333

Source/WTF/wtf/AutomaticThread.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2424
*/
2525

26-
#ifndef WTF_AutomaticThread_h
27-
#define WTF_AutomaticThread_h
26+
#pragma once
2827

2928
#include <wtf/Box.h>
3029
#include <wtf/Condition.h>
@@ -195,6 +194,3 @@ class WTF_EXPORT_PRIVATE AutomaticThread : public ThreadSafeRefCounted<Automatic
195194

196195
using WTF::AutomaticThread;
197196
using WTF::AutomaticThreadCondition;
198-
199-
#endif // WTF_AutomaticThread_h
200-

0 commit comments

Comments
 (0)