diff --git a/examples/ModuleMaker/README.txt b/examples/ModuleMaker/README.txt index baa0b766a..66a5d3fe0 100644 --- a/examples/ModuleMaker/README.txt +++ b/examples/ModuleMaker/README.txt @@ -1,9 +1,6 @@ //===----------------------------------------------------------------------===// // ModuleMaker Sample project //===----------------------------------------------------------------------===// -//===----------------------------------------------------------------------===// -// ModuleMaker Sample project -//===----------------------------------------------------------------------===// This project is an extremely simple example of using some simple pieces of the LLVM API. The actual executable generated by this project simply emits an diff --git a/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h b/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h index 22eb24abd..1f029fb1c 100644 --- a/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h +++ b/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h @@ -16,6 +16,7 @@ * subsequent merges and contributions from the original source base eaiser. * *===----------------------------------------------------------------------===*/ +#ifndef _ITTNOTIFY_CONFIG_H_ #define _ITTNOTIFY_CONFIG_H_ /** @cond exclude_from_documentation */ diff --git a/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h b/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h index ef0129c6a..5df752f66 100644 --- a/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h +++ b/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h @@ -13,6 +13,7 @@ * subsequent merges and contributions from the original source base eaiser. * *===----------------------------------------------------------------------===*/ +#ifndef _ITTNOTIFY_TYPES_H_ #define _ITTNOTIFY_TYPES_H_ typedef enum ___itt_group_id diff --git a/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h b/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h index 41ed3b0fb..844536f7d 100644 --- a/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h +++ b/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h @@ -16,6 +16,7 @@ * subsequent merges and contributions from the original source base eaiser. * *===----------------------------------------------------------------------===*/ +#ifndef __JITPROFILING_H__ #define __JITPROFILING_H__ /* diff --git a/lib/Fuzzer/test/CounterTest.cpp b/lib/Fuzzer/test/CounterTest.cpp index e53844753..29ddb02eb 100644 --- a/lib/Fuzzer/test/CounterTest.cpp +++ b/lib/Fuzzer/test/CounterTest.cpp @@ -1,6 +1,3 @@ -// Test for a fuzzer: must find the case where a particular basic block is -// executed many times. - // Test for a fuzzer: must find the case where a particular basic block is // executed many times. #include diff --git a/lib/Fuzzer/test/CxxTokensTest.cpp b/lib/Fuzzer/test/CxxTokensTest.cpp index ff47275a8..77d08b3d1 100644 --- a/lib/Fuzzer/test/CxxTokensTest.cpp +++ b/lib/Fuzzer/test/CxxTokensTest.cpp @@ -1,5 +1,3 @@ -// Simple test for a fuzzer. The fuzzer must find a sequence of C++ tokens. - // Simple test for a fuzzer. The fuzzer must find a sequence of C++ tokens. #include #include diff --git a/lib/Fuzzer/test/DFSanMemcmpTest.cpp b/lib/Fuzzer/test/DFSanMemcmpTest.cpp index e943411e3..510a24398 100644 --- a/lib/Fuzzer/test/DFSanMemcmpTest.cpp +++ b/lib/Fuzzer/test/DFSanMemcmpTest.cpp @@ -1,5 +1,3 @@ -// Simple test for a fuzzer. The fuzzer must find a particular string. - // Simple test for a fuzzer. The fuzzer must find a particular string. #include #include diff --git a/lib/Fuzzer/test/DFSanSimpleCmpTest.cpp b/lib/Fuzzer/test/DFSanSimpleCmpTest.cpp index 0d94c5d16..ee378146d 100644 --- a/lib/Fuzzer/test/DFSanSimpleCmpTest.cpp +++ b/lib/Fuzzer/test/DFSanSimpleCmpTest.cpp @@ -1,5 +1,3 @@ -// Simple test for a fuzzer. The fuzzer must find several narrow ranges. - // Simple test for a fuzzer. The fuzzer must find several narrow ranges. #include #include diff --git a/lib/Fuzzer/test/FourIndependentBranchesTest.cpp b/lib/Fuzzer/test/FourIndependentBranchesTest.cpp index 0fd795ca0..e0b7509b8 100644 --- a/lib/Fuzzer/test/FourIndependentBranchesTest.cpp +++ b/lib/Fuzzer/test/FourIndependentBranchesTest.cpp @@ -1,5 +1,3 @@ -// Simple test for a fuzzer. The fuzzer must find the string "FUZZ". - // Simple test for a fuzzer. The fuzzer must find the string "FUZZ". #include #include diff --git a/lib/Fuzzer/test/FullCoverageSetTest.cpp b/lib/Fuzzer/test/FullCoverageSetTest.cpp index a5d20755f..2c6ff98db 100644 --- a/lib/Fuzzer/test/FullCoverageSetTest.cpp +++ b/lib/Fuzzer/test/FullCoverageSetTest.cpp @@ -1,5 +1,3 @@ -// Simple test for a fuzzer. The fuzzer must find the string "FUZZER". - // Simple test for a fuzzer. The fuzzer must find the string "FUZZER". #include #include diff --git a/lib/Fuzzer/test/InfiniteTest.cpp b/lib/Fuzzer/test/InfiniteTest.cpp index 48e4ba2d2..b6d174ffd 100644 --- a/lib/Fuzzer/test/InfiniteTest.cpp +++ b/lib/Fuzzer/test/InfiniteTest.cpp @@ -1,5 +1,3 @@ -// Simple test for a fuzzer. The fuzzer must find the string "Hi!". - // Simple test for a fuzzer. The fuzzer must find the string "Hi!". #include #include diff --git a/lib/Support/Unix/COM.inc b/lib/Support/Unix/COM.inc index 8018d1e64..5b71de74e 100644 --- a/lib/Support/Unix/COM.inc +++ b/lib/Support/Unix/COM.inc @@ -11,6 +11,11 @@ // //===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// +//=== WARNING: Implementation here must contain only generic UNIX code that +//=== is guaranteed to work on *all* UNIX variants. +//===----------------------------------------------------------------------===// + namespace llvm { namespace sys { diff --git a/lib/Support/Unix/Host.inc b/lib/Support/Unix/Host.inc index f2d35ab81..457217125 100644 --- a/lib/Support/Unix/Host.inc +++ b/lib/Support/Unix/Host.inc @@ -11,6 +11,11 @@ // //===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// +//=== WARNING: Implementation here must contain only generic UNIX code that +//=== is guaranteed to work on *all* UNIX variants. +//===----------------------------------------------------------------------===// + #include "Unix.h" #include "llvm/ADT/StringRef.h" #include "llvm/Config/config.h" diff --git a/lib/Support/Unix/Mutex.inc b/lib/Support/Unix/Mutex.inc index e60f4c978..fe6b17041 100644 --- a/lib/Support/Unix/Mutex.inc +++ b/lib/Support/Unix/Mutex.inc @@ -11,6 +11,11 @@ // //===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// +//=== WARNING: Implementation here must contain only generic UNIX code that +//=== is guaranteed to work on *all* UNIX variants. +//===----------------------------------------------------------------------===// + namespace llvm { using namespace sys; diff --git a/lib/Support/Unix/Path.inc b/lib/Support/Unix/Path.inc index 91788d3d0..973d010dc 100644 --- a/lib/Support/Unix/Path.inc +++ b/lib/Support/Unix/Path.inc @@ -11,6 +11,11 @@ // //===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// +//=== WARNING: Implementation here must contain only generic UNIX code that +//=== is guaranteed to work on *all* UNIX variants. +//===----------------------------------------------------------------------===// + #include "Unix.h" #include #include diff --git a/lib/Support/Unix/Program.inc b/lib/Support/Unix/Program.inc index f3135fc2d..8947b62e4 100644 --- a/lib/Support/Unix/Program.inc +++ b/lib/Support/Unix/Program.inc @@ -11,6 +11,11 @@ // //===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// +//=== WARNING: Implementation here must contain only generic UNIX code that +//=== is guaranteed to work on *all* UNIX variants. +//===----------------------------------------------------------------------===// + #include "Unix.h" #include "llvm/ADT/StringExtras.h" #include "llvm/Config/config.h" diff --git a/lib/Support/Unix/RWMutex.inc b/lib/Support/Unix/RWMutex.inc index ffe1d8f1c..85a104334 100644 --- a/lib/Support/Unix/RWMutex.inc +++ b/lib/Support/Unix/RWMutex.inc @@ -11,6 +11,11 @@ // //===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// +//=== WARNING: Implementation here must contain only generic UNIX code that +//=== is guaranteed to work on *all* UNIX variants. +//===----------------------------------------------------------------------===// + #include "llvm/Support/Mutex.h" namespace llvm { diff --git a/lib/Support/Unix/ThreadLocal.inc b/lib/Support/Unix/ThreadLocal.inc index 9a42bbb92..31c3f3835 100644 --- a/lib/Support/Unix/ThreadLocal.inc +++ b/lib/Support/Unix/ThreadLocal.inc @@ -11,6 +11,11 @@ // //===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// +//=== WARNING: Implementation here must contain only generic UNIX code that +//=== is guaranteed to work on *all* UNIX variants. +//===----------------------------------------------------------------------===// + #if defined(HAVE_PTHREAD_H) && defined(HAVE_PTHREAD_GETSPECIFIC) #include diff --git a/lib/Support/Unix/TimeValue.inc b/lib/Support/Unix/TimeValue.inc index 5a1f20385..042e0dacc 100644 --- a/lib/Support/Unix/TimeValue.inc +++ b/lib/Support/Unix/TimeValue.inc @@ -11,6 +11,11 @@ // //===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// +//=== WARNING: Implementation here must contain only generic UNIX code that +//=== is guaranteed to work on *all* UNIX variants. +//===----------------------------------------------------------------------===// + #include "Unix.h" namespace llvm { diff --git a/lib/Support/Windows/COM.inc b/lib/Support/Windows/COM.inc index 4f3399304..0c50d6f74 100644 --- a/lib/Support/Windows/COM.inc +++ b/lib/Support/Windows/COM.inc @@ -11,6 +11,10 @@ // //===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// +//=== WARNING: Implementation here must contain only Windows code. +//===----------------------------------------------------------------------===// + #include namespace llvm { diff --git a/lib/Support/Windows/Mutex.inc b/lib/Support/Windows/Mutex.inc index 14a370269..ab79d0791 100644 --- a/lib/Support/Windows/Mutex.inc +++ b/lib/Support/Windows/Mutex.inc @@ -11,6 +11,11 @@ // //===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// +//=== WARNING: Implementation here must contain only generic Win32 code that +//=== is guaranteed to work on *all* Win32 variants. +//===----------------------------------------------------------------------===// + #include "WindowsSupport.h" #include "llvm/Support/Mutex.h" diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc index 0794fc008..0e582258a 100644 --- a/lib/Support/Windows/Path.inc +++ b/lib/Support/Windows/Path.inc @@ -11,6 +11,11 @@ // //===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// +//=== WARNING: Implementation here must contain only generic Windows code that +//=== is guaranteed to work on *all* Windows variants. +//===----------------------------------------------------------------------===// + #include "llvm/ADT/STLExtras.h" #include "llvm/Support/WindowsError.h" #include diff --git a/lib/Support/Windows/RWMutex.inc b/lib/Support/Windows/RWMutex.inc index 79b79cde9..d7ab99f45 100644 --- a/lib/Support/Windows/RWMutex.inc +++ b/lib/Support/Windows/RWMutex.inc @@ -11,6 +11,11 @@ // //===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// +//=== WARNING: Implementation here must contain only generic Win32 code that +//=== is guaranteed to work on *all* Win32 variants. +//===----------------------------------------------------------------------===// + #include "WindowsSupport.h" namespace llvm { diff --git a/lib/Support/Windows/ThreadLocal.inc b/lib/Support/Windows/ThreadLocal.inc index 9ad6b54ff..b9cb8ff98 100644 --- a/lib/Support/Windows/ThreadLocal.inc +++ b/lib/Support/Windows/ThreadLocal.inc @@ -11,6 +11,11 @@ // //===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// +//=== WARNING: Implementation here must contain only generic Win32 code that +//=== is guaranteed to work on *all* Win32 variants. +//===----------------------------------------------------------------------===// + #include "WindowsSupport.h" #include "llvm/Support/ThreadLocal.h" diff --git a/lib/Support/Windows/Watchdog.inc b/lib/Support/Windows/Watchdog.inc index 7fa61482c..fab2bdf2a 100644 --- a/lib/Support/Windows/Watchdog.inc +++ b/lib/Support/Windows/Watchdog.inc @@ -11,6 +11,11 @@ // //===----------------------------------------------------------------------===// +// TODO: implement. +// Currently this is only used by PrettyStackTrace which is also unimplemented +// on Windows. Roughly, a Windows implementation would use CreateWaitableTimer +// and a second thread to run the TimerAPCProc. + namespace llvm { namespace sys { Watchdog::Watchdog(unsigned int seconds) {} diff --git a/lib/Transforms/ObjCARC/ObjCARCContract.cpp b/lib/Transforms/ObjCARC/ObjCARCContract.cpp index 4d0ce9cf9..baca76ba3 100644 --- a/lib/Transforms/ObjCARC/ObjCARCContract.cpp +++ b/lib/Transforms/ObjCARC/ObjCARCContract.cpp @@ -23,6 +23,9 @@ /// //===----------------------------------------------------------------------===// +// TODO: ObjCARCContract could insert PHI nodes when uses aren't +// dominated by single calls. + #include "ObjCARC.h" #include "ARCRuntimeEntryPoints.h" #include "DependencyAnalysis.h" diff --git a/tools/clang/NOTES.txt b/tools/clang/NOTES.txt index 4e4e5ccb7..53f35a018 100644 --- a/tools/clang/NOTES.txt +++ b/tools/clang/NOTES.txt @@ -1,9 +1,6 @@ //===---------------------------------------------------------------------===// // Random Notes //===---------------------------------------------------------------------===// -//===---------------------------------------------------------------------===// -// Random Notes -//===---------------------------------------------------------------------===// //===---------------------------------------------------------------------===// diff --git a/tools/clang/README.txt b/tools/clang/README.txt index 5f09c555d..ada9ebc9e 100644 --- a/tools/clang/README.txt +++ b/tools/clang/README.txt @@ -1,9 +1,6 @@ //===----------------------------------------------------------------------===// // C Language Family Front-end //===----------------------------------------------------------------------===// -//===----------------------------------------------------------------------===// -// C Language Family Front-end -//===----------------------------------------------------------------------===// Welcome to Clang. This is a compiler front-end for the C family of languages (C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM diff --git a/tools/clang/bindings/python/README.txt b/tools/clang/bindings/python/README.txt index fdfd11ed4..742cf8fbb 100644 --- a/tools/clang/bindings/python/README.txt +++ b/tools/clang/bindings/python/README.txt @@ -1,9 +1,6 @@ //===----------------------------------------------------------------------===// // Clang Python Bindings //===----------------------------------------------------------------------===// -//===----------------------------------------------------------------------===// -// Clang Python Bindings -//===----------------------------------------------------------------------===// This directory implements Python bindings for Clang. diff --git a/tools/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.td b/tools/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.td index c32369ca4..449310871 100644 --- a/tools/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.td +++ b/tools/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.td @@ -1,5 +1,3 @@ -// HTML Named Character Reference - // HTML Named Character Reference class NCR { string Spelling = spelling; diff --git a/tools/clang/include/clang/AST/CommentHTMLTags.td b/tools/clang/include/clang/AST/CommentHTMLTags.td index c5226272b..251490094 100644 --- a/tools/clang/include/clang/AST/CommentHTMLTags.td +++ b/tools/clang/include/clang/AST/CommentHTMLTags.td @@ -1,4 +1,3 @@ - class Tag { string Spelling = spelling; bit EndTagOptional = 0; diff --git a/tools/clang/include/clang/Basic/CommentNodes.td b/tools/clang/include/clang/Basic/CommentNodes.td index 78a21f1d7..7bf32b78b 100644 --- a/tools/clang/include/clang/Basic/CommentNodes.td +++ b/tools/clang/include/clang/Basic/CommentNodes.td @@ -1,4 +1,3 @@ - class Comment { bit Abstract = abstract; } diff --git a/tools/clang/include/clang/Basic/DeclNodes.td b/tools/clang/include/clang/Basic/DeclNodes.td index b53dd33e7..77b44ed5d 100644 --- a/tools/clang/include/clang/Basic/DeclNodes.td +++ b/tools/clang/include/clang/Basic/DeclNodes.td @@ -1,4 +1,3 @@ - class AttrSubject; class Decl : AttrSubject { diff --git a/tools/clang/include/clang/Basic/StmtNodes.td b/tools/clang/include/clang/Basic/StmtNodes.td index 5d0c79527..71f3829c9 100644 --- a/tools/clang/include/clang/Basic/StmtNodes.td +++ b/tools/clang/include/clang/Basic/StmtNodes.td @@ -1,4 +1,3 @@ - class AttrSubject; class Stmt : AttrSubject { diff --git a/tools/clang/lib/Basic/Attributes.cpp b/tools/clang/lib/Basic/Attributes.cpp index 6f3953edd..da9ac793f 100644 --- a/tools/clang/lib/Basic/Attributes.cpp +++ b/tools/clang/lib/Basic/Attributes.cpp @@ -1,4 +1,3 @@ - #include "clang/Basic/Attributes.h" #include "clang/Basic/IdentifierTable.h" #include "llvm/ADT/StringSwitch.h" diff --git a/tools/clang/lib/Headers/Intrin.h b/tools/clang/lib/Headers/Intrin.h index 961f4c88a..24b3eae8b 100644 --- a/tools/clang/lib/Headers/Intrin.h +++ b/tools/clang/lib/Headers/Intrin.h @@ -20,6 +20,8 @@ * *===-----------------------------------------------------------------------=== */ + +/* Only include this if we're compiling for the windows platform. */ #ifndef _MSC_VER #include_next #else @@ -954,4 +956,3 @@ __writecr3(unsigned int __cr3_val) { #endif /* __INTRIN_H */ #endif /* _MSC_VER */ - diff --git a/tools/clang/lib/Headers/__wmmintrin_aes.h b/tools/clang/lib/Headers/__wmmintrin_aes.h index dfd7a0a49..9f594ee56 100644 --- a/tools/clang/lib/Headers/__wmmintrin_aes.h +++ b/tools/clang/lib/Headers/__wmmintrin_aes.h @@ -20,6 +20,7 @@ * *===-----------------------------------------------------------------------=== */ +#ifndef _WMMINTRIN_AES_H #define _WMMINTRIN_AES_H #include @@ -69,4 +70,3 @@ _mm_aesimc_si128(__m128i __V) #endif #endif /* _WMMINTRIN_AES_H */ - diff --git a/tools/clang/lib/Headers/__wmmintrin_pclmul.h b/tools/clang/lib/Headers/__wmmintrin_pclmul.h index 347ca8bb0..8d1f1b7c0 100644 --- a/tools/clang/lib/Headers/__wmmintrin_pclmul.h +++ b/tools/clang/lib/Headers/__wmmintrin_pclmul.h @@ -20,6 +20,7 @@ * *===-----------------------------------------------------------------------=== */ +#ifndef _WMMINTRIN_PCLMUL_H #define _WMMINTRIN_PCLMUL_H #if !defined (__PCLMUL__) @@ -31,4 +32,3 @@ #endif #endif /* _WMMINTRIN_PCLMUL_H */ - diff --git a/tools/clang/lib/Headers/avx512bwintrin.h b/tools/clang/lib/Headers/avx512bwintrin.h index 6a88a7444..9e8297a9c 100644 --- a/tools/clang/lib/Headers/avx512bwintrin.h +++ b/tools/clang/lib/Headers/avx512bwintrin.h @@ -21,6 +21,9 @@ * *===-----------------------------------------------------------------------=== */ +#ifndef __IMMINTRIN_H +#error "Never use directly; include instead." +#endif #ifndef __AVX512BWINTRIN_H #define __AVX512BWINTRIN_H @@ -1245,4 +1248,3 @@ _mm512_maskz_permutex2var_epi16 (__mmask32 __U, __m512i __A, #undef __DEFAULT_FN_ATTRS #endif - diff --git a/tools/clang/lib/Headers/avx512cdintrin.h b/tools/clang/lib/Headers/avx512cdintrin.h index aea652e26..3894b29f5 100644 --- a/tools/clang/lib/Headers/avx512cdintrin.h +++ b/tools/clang/lib/Headers/avx512cdintrin.h @@ -21,6 +21,9 @@ * *===-----------------------------------------------------------------------=== */ +#ifndef __IMMINTRIN_H +#error "Never use directly; include instead." +#endif #ifndef __AVX512CDINTRIN_H #define __AVX512CDINTRIN_H @@ -126,4 +129,3 @@ _mm512_maskz_lzcnt_epi64 (__mmask8 __U, __m512i __A) #undef __DEFAULT_FN_ATTRS #endif - diff --git a/tools/clang/lib/Headers/avx512erintrin.h b/tools/clang/lib/Headers/avx512erintrin.h index 11df8f56a..56edffc11 100644 --- a/tools/clang/lib/Headers/avx512erintrin.h +++ b/tools/clang/lib/Headers/avx512erintrin.h @@ -20,6 +20,9 @@ * *===-----------------------------------------------------------------------=== */ +#ifndef __IMMINTRIN_H +#error "Never use directly; include instead." +#endif #ifndef __AVX512ERINTRIN_H #define __AVX512ERINTRIN_H @@ -280,4 +283,3 @@ _mm_maskz_rcp28_round_sd((M), (A), (B), _MM_FROUND_CUR_DIRECTION) #endif // __AVX512ERINTRIN_H - diff --git a/tools/clang/lib/Headers/avx512fintrin.h b/tools/clang/lib/Headers/avx512fintrin.h index 0a2983848..4f7cba0b1 100644 --- a/tools/clang/lib/Headers/avx512fintrin.h +++ b/tools/clang/lib/Headers/avx512fintrin.h @@ -20,6 +20,9 @@ * *===-----------------------------------------------------------------------=== */ +#ifndef __IMMINTRIN_H +#error "Never use directly; include instead." +#endif #ifndef __AVX512FINTRIN_H #define __AVX512FINTRIN_H @@ -2452,4 +2455,3 @@ _mm512_mask_cmpneq_epu64_mask(__mmask8 __u, __m512i __a, __m512i __b) { #undef __DEFAULT_FN_ATTRS #endif // __AVX512FINTRIN_H - diff --git a/tools/clang/lib/Headers/varargs.h b/tools/clang/lib/Headers/varargs.h index 69a33bead..b5477d0a6 100644 --- a/tools/clang/lib/Headers/varargs.h +++ b/tools/clang/lib/Headers/varargs.h @@ -1,5 +1,26 @@ /*===---- varargs.h - Variable argument handling -------------------------------------=== +* +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice shall be included in +* all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +* THE SOFTWARE. +* +*===-----------------------------------------------------------------------=== +*/ +#ifndef __VARARGS_H #define __VARARGS_H #error "Please use instead of " #endif - diff --git a/tools/clang/lib/StaticAnalyzer/README.txt b/tools/clang/lib/StaticAnalyzer/README.txt index bdf3ce738..d4310c57d 100644 --- a/tools/clang/lib/StaticAnalyzer/README.txt +++ b/tools/clang/lib/StaticAnalyzer/README.txt @@ -1,9 +1,6 @@ //===----------------------------------------------------------------------===// // Clang Static Analyzer //===----------------------------------------------------------------------===// -//===----------------------------------------------------------------------===// -// Clang Static Analyzer -//===----------------------------------------------------------------------===// = Library Structure = diff --git a/utils/testgen/mc-bundling-x86-gen.py b/utils/testgen/mc-bundling-x86-gen.py index b8054631e..ed9522201 100644 --- a/utils/testgen/mc-bundling-x86-gen.py +++ b/utils/testgen/mc-bundling-x86-gen.py @@ -1,7 +1,5 @@ #!/usr/bin/python -#!/usr/bin/python - # Auto-generates an exhaustive and repetitive test for correct bundle-locked # alignment on x86. # For every possible offset in an aligned bundle, a bundle-locked group of every