Clean up mistakes made when fixing copyright banners.

This commit is contained in:
Tex Riddell 2017-01-25 14:36:50 -08:00
Родитель ab6759350b
Коммит e077864885
45 изменённых файлов: 113 добавлений и 47 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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 */

Просмотреть файл

@ -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

Просмотреть файл

@ -16,6 +16,7 @@
* subsequent merges and contributions from the original source base eaiser.
*
*===----------------------------------------------------------------------===*/
#ifndef __JITPROFILING_H__
#define __JITPROFILING_H__
/*

Просмотреть файл

@ -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 <iostream>

Просмотреть файл

@ -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 <cstdint>
#include <cstdlib>

Просмотреть файл

@ -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 <cstring>
#include <cstdint>

Просмотреть файл

@ -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 <cstdint>
#include <cstdlib>

Просмотреть файл

@ -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 <cstdint>
#include <cstdlib>

Просмотреть файл

@ -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 <cstdint>
#include <cstdlib>

Просмотреть файл

@ -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 <cstdint>
#include <cstdlib>

Просмотреть файл

@ -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 {

Просмотреть файл

@ -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"

Просмотреть файл

@ -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;

Просмотреть файл

@ -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 <limits.h>
#include <stdio.h>

Просмотреть файл

@ -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"

Просмотреть файл

@ -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 {

Просмотреть файл

@ -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 <cassert>

Просмотреть файл

@ -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 {

Просмотреть файл

@ -11,6 +11,10 @@
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only Windows code.
//===----------------------------------------------------------------------===//
#include <objbase.h>
namespace llvm {

Просмотреть файл

@ -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"

Просмотреть файл

@ -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 <fcntl.h>

Просмотреть файл

@ -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 {

Просмотреть файл

@ -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"

Просмотреть файл

@ -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) {}

Просмотреть файл

@ -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"

Просмотреть файл

@ -1,9 +1,6 @@
//===---------------------------------------------------------------------===//
// Random Notes
//===---------------------------------------------------------------------===//
//===---------------------------------------------------------------------===//
// Random Notes
//===---------------------------------------------------------------------===//
//===---------------------------------------------------------------------===//

Просмотреть файл

@ -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

Просмотреть файл

@ -1,9 +1,6 @@
//===----------------------------------------------------------------------===//
// Clang Python Bindings
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===//
// Clang Python Bindings
//===----------------------------------------------------------------------===//
This directory implements Python bindings for Clang.

Просмотреть файл

@ -1,5 +1,3 @@
// HTML Named Character Reference
// HTML Named Character Reference
class NCR<string spelling, int codePoint> {
string Spelling = spelling;

Просмотреть файл

@ -1,4 +1,3 @@
class Tag<string spelling> {
string Spelling = spelling;
bit EndTagOptional = 0;

Просмотреть файл

@ -1,4 +1,3 @@
class Comment<bit abstract = 0> {
bit Abstract = abstract;
}

Просмотреть файл

@ -1,4 +1,3 @@
class AttrSubject;
class Decl<bit abstract = 0> : AttrSubject {

Просмотреть файл

@ -1,4 +1,3 @@
class AttrSubject;
class Stmt<bit abstract = 0> : AttrSubject {

Просмотреть файл

@ -1,4 +1,3 @@
#include "clang/Basic/Attributes.h"
#include "clang/Basic/IdentifierTable.h"
#include "llvm/ADT/StringSwitch.h"

Просмотреть файл

@ -20,6 +20,8 @@
*
*===-----------------------------------------------------------------------===
*/
/* Only include this if we're compiling for the windows platform. */
#ifndef _MSC_VER
#include_next <Intrin.h>
#else
@ -954,4 +956,3 @@ __writecr3(unsigned int __cr3_val) {
#endif /* __INTRIN_H */
#endif /* _MSC_VER */

Просмотреть файл

@ -20,6 +20,7 @@
*
*===-----------------------------------------------------------------------===
*/
#ifndef _WMMINTRIN_AES_H
#define _WMMINTRIN_AES_H
#include <emmintrin.h>
@ -69,4 +70,3 @@ _mm_aesimc_si128(__m128i __V)
#endif
#endif /* _WMMINTRIN_AES_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 */

Просмотреть файл

@ -21,6 +21,9 @@
*
*===-----------------------------------------------------------------------===
*/
#ifndef __IMMINTRIN_H
#error "Never use <avx512bwintrin.h> directly; include <immintrin.h> 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

Просмотреть файл

@ -21,6 +21,9 @@
*
*===-----------------------------------------------------------------------===
*/
#ifndef __IMMINTRIN_H
#error "Never use <avx512cdintrin.h> directly; include <immintrin.h> 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

Просмотреть файл

@ -20,6 +20,9 @@
*
*===-----------------------------------------------------------------------===
*/
#ifndef __IMMINTRIN_H
#error "Never use <avx512erintrin.h> directly; include <immintrin.h> 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

Просмотреть файл

@ -20,6 +20,9 @@
*
*===-----------------------------------------------------------------------===
*/
#ifndef __IMMINTRIN_H
#error "Never use <avx512fintrin.h> directly; include <immintrin.h> 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

Просмотреть файл

@ -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 <stdarg.h> instead of <varargs.h>"
#endif

Просмотреть файл

@ -1,9 +1,6 @@
//===----------------------------------------------------------------------===//
// Clang Static Analyzer
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===//
// Clang Static Analyzer
//===----------------------------------------------------------------------===//
= Library Structure =

Просмотреть файл

@ -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