Skip to content

Commit

Permalink
Clean up mistakes made when fixing copyright banners.
Browse files Browse the repository at this point in the history
  • Loading branch information
tex3d committed Jan 25, 2017
1 parent ab67593 commit e077864
Show file tree
Hide file tree
Showing 45 changed files with 113 additions and 47 deletions.
3 changes: 0 additions & 3 deletions examples/ModuleMaker/README.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 1 addition & 0 deletions lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions lib/ExecutionEngine/IntelJITEvents/jitprofiling.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* subsequent merges and contributions from the original source base eaiser.
*
*===----------------------------------------------------------------------===*/
#ifndef __JITPROFILING_H__
#define __JITPROFILING_H__

/*
Expand Down
3 changes: 0 additions & 3 deletions lib/Fuzzer/test/CounterTest.cpp
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
2 changes: 0 additions & 2 deletions lib/Fuzzer/test/CxxTokensTest.cpp
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
2 changes: 0 additions & 2 deletions lib/Fuzzer/test/DFSanMemcmpTest.cpp
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
2 changes: 0 additions & 2 deletions lib/Fuzzer/test/DFSanSimpleCmpTest.cpp
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
2 changes: 0 additions & 2 deletions lib/Fuzzer/test/FourIndependentBranchesTest.cpp
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
2 changes: 0 additions & 2 deletions lib/Fuzzer/test/FullCoverageSetTest.cpp
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
2 changes: 0 additions & 2 deletions lib/Fuzzer/test/InfiniteTest.cpp
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
5 changes: 5 additions & 0 deletions lib/Support/Unix/COM.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
5 changes: 5 additions & 0 deletions lib/Support/Unix/Host.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 5 additions & 0 deletions lib/Support/Unix/Mutex.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 5 additions & 0 deletions lib/Support/Unix/Path.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
5 changes: 5 additions & 0 deletions lib/Support/Unix/Program.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 5 additions & 0 deletions lib/Support/Unix/RWMutex.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
5 changes: 5 additions & 0 deletions lib/Support/Unix/ThreadLocal.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
5 changes: 5 additions & 0 deletions lib/Support/Unix/TimeValue.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 4 additions & 0 deletions lib/Support/Windows/COM.inc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
//
//===----------------------------------------------------------------------===//

//===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only Windows code.
//===----------------------------------------------------------------------===//

#include <objbase.h>

namespace llvm {
Expand Down
5 changes: 5 additions & 0 deletions lib/Support/Windows/Mutex.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
5 changes: 5 additions & 0 deletions lib/Support/Windows/Path.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
5 changes: 5 additions & 0 deletions lib/Support/Windows/RWMutex.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
5 changes: 5 additions & 0 deletions lib/Support/Windows/ThreadLocal.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
5 changes: 5 additions & 0 deletions lib/Support/Windows/Watchdog.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
Expand Down
3 changes: 3 additions & 0 deletions lib/Transforms/ObjCARC/ObjCARCContract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 0 additions & 3 deletions tools/clang/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
//===---------------------------------------------------------------------===//
// Random Notes
//===---------------------------------------------------------------------===//
//===---------------------------------------------------------------------===//
// Random Notes
//===---------------------------------------------------------------------===//

//===---------------------------------------------------------------------===//

Expand Down
3 changes: 0 additions & 3 deletions tools/clang/README.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 0 additions & 3 deletions tools/clang/bindings/python/README.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
//===----------------------------------------------------------------------===//
// Clang Python Bindings
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===//
// Clang Python Bindings
//===----------------------------------------------------------------------===//

This directory implements Python bindings for Clang.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// HTML Named Character Reference

// HTML Named Character Reference
class NCR<string spelling, int codePoint> {
string Spelling = spelling;
Expand Down
1 change: 0 additions & 1 deletion tools/clang/include/clang/AST/CommentHTMLTags.td
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class Tag<string spelling> {
string Spelling = spelling;
bit EndTagOptional = 0;
Expand Down
1 change: 0 additions & 1 deletion tools/clang/include/clang/Basic/CommentNodes.td
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class Comment<bit abstract = 0> {
bit Abstract = abstract;
}
Expand Down
1 change: 0 additions & 1 deletion tools/clang/include/clang/Basic/DeclNodes.td
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class AttrSubject;

class Decl<bit abstract = 0> : AttrSubject {
Expand Down
1 change: 0 additions & 1 deletion tools/clang/include/clang/Basic/StmtNodes.td
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class AttrSubject;

class Stmt<bit abstract = 0> : AttrSubject {
Expand Down
1 change: 0 additions & 1 deletion tools/clang/lib/Basic/Attributes.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#include "clang/Basic/Attributes.h"
#include "clang/Basic/IdentifierTable.h"
#include "llvm/ADT/StringSwitch.h"
Expand Down
3 changes: 2 additions & 1 deletion tools/clang/lib/Headers/Intrin.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
*===-----------------------------------------------------------------------===
*/

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

#endif /* __INTRIN_H */
#endif /* _MSC_VER */

2 changes: 1 addition & 1 deletion tools/clang/lib/Headers/__wmmintrin_aes.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*
*===-----------------------------------------------------------------------===
*/
#ifndef _WMMINTRIN_AES_H
#define _WMMINTRIN_AES_H

#include <emmintrin.h>
Expand Down Expand Up @@ -69,4 +70,3 @@ _mm_aesimc_si128(__m128i __V)
#endif

#endif /* _WMMINTRIN_AES_H */

2 changes: 1 addition & 1 deletion tools/clang/lib/Headers/__wmmintrin_pclmul.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*
*===-----------------------------------------------------------------------===
*/
#ifndef _WMMINTRIN_PCLMUL_H
#define _WMMINTRIN_PCLMUL_H

#if !defined (__PCLMUL__)
Expand All @@ -31,4 +32,3 @@
#endif

#endif /* _WMMINTRIN_PCLMUL_H */

4 changes: 3 additions & 1 deletion tools/clang/lib/Headers/avx512bwintrin.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
*
*===-----------------------------------------------------------------------===
*/
#ifndef __IMMINTRIN_H
#error "Never use <avx512bwintrin.h> directly; include <immintrin.h> instead."
#endif

#ifndef __AVX512BWINTRIN_H
#define __AVX512BWINTRIN_H
Expand Down Expand Up @@ -1245,4 +1248,3 @@ _mm512_maskz_permutex2var_epi16 (__mmask32 __U, __m512i __A,
#undef __DEFAULT_FN_ATTRS

#endif

4 changes: 3 additions & 1 deletion tools/clang/lib/Headers/avx512cdintrin.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
*
*===-----------------------------------------------------------------------===
*/
#ifndef __IMMINTRIN_H
#error "Never use <avx512cdintrin.h> directly; include <immintrin.h> instead."
#endif

#ifndef __AVX512CDINTRIN_H
#define __AVX512CDINTRIN_H
Expand Down Expand Up @@ -126,4 +129,3 @@ _mm512_maskz_lzcnt_epi64 (__mmask8 __U, __m512i __A)
#undef __DEFAULT_FN_ATTRS

#endif

4 changes: 3 additions & 1 deletion tools/clang/lib/Headers/avx512erintrin.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
*
*===-----------------------------------------------------------------------===
*/
#ifndef __IMMINTRIN_H
#error "Never use <avx512erintrin.h> directly; include <immintrin.h> instead."
#endif

#ifndef __AVX512ERINTRIN_H
#define __AVX512ERINTRIN_H
Expand Down Expand Up @@ -280,4 +283,3 @@
_mm_maskz_rcp28_round_sd((M), (A), (B), _MM_FROUND_CUR_DIRECTION)

#endif // __AVX512ERINTRIN_H

Loading

0 comments on commit e077864

Please sign in to comment.