From db6649baa2a2f6e3a8ca27e13e086827fd192abf Mon Sep 17 00:00:00 2001 From: Erik Pilkington Date: Tue, 24 Jul 2018 00:07:49 +0000 Subject: [PATCH] NFC: Add the emacs c++ mode hint "-*- C++ -*-" to the headers that don't have it https://llvm.org/docs/CodingStandards.html#file-headers git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337780 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/TypeOrdering.h | 2 +- include/clang/Basic/CharInfo.h | 2 +- include/clang/CodeGen/SwiftCallingConv.h | 2 +- include/clang/Frontend/LayoutOverrideSource.h | 2 +- include/clang/Frontend/SerializedDiagnosticPrinter.h | 2 +- include/clang/Index/IndexDataConsumer.h | 2 +- include/clang/Index/IndexSymbol.h | 2 +- include/clang/Index/IndexingAction.h | 2 +- include/clang/Index/USRGeneration.h | 2 +- include/clang/Sema/SemaFixItUtils.h | 2 +- lib/Basic/Targets.h | 2 +- lib/Basic/Targets/Sparc.h | 2 +- lib/Format/BreakableToken.h | 2 +- lib/Format/Encoding.h | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/include/clang/AST/TypeOrdering.h b/include/clang/AST/TypeOrdering.h index 5f16969dca..d29dd6d601 100644 --- a/include/clang/AST/TypeOrdering.h +++ b/include/clang/AST/TypeOrdering.h @@ -1,4 +1,4 @@ -//===-------------- TypeOrdering.h - Total ordering for types -------------===// +//===-------------- TypeOrdering.h - Total ordering for types ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/clang/Basic/CharInfo.h b/include/clang/Basic/CharInfo.h index be49f360d6..e6c5e90d34 100644 --- a/include/clang/Basic/CharInfo.h +++ b/include/clang/Basic/CharInfo.h @@ -1,4 +1,4 @@ -//===--- clang/Basic/CharInfo.h - Classifying ASCII Characters ------------===// +//===--- clang/Basic/CharInfo.h - Classifying ASCII Characters --*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/clang/CodeGen/SwiftCallingConv.h b/include/clang/CodeGen/SwiftCallingConv.h index a5ea900185..45b3145ed9 100644 --- a/include/clang/CodeGen/SwiftCallingConv.h +++ b/include/clang/CodeGen/SwiftCallingConv.h @@ -1,4 +1,4 @@ -//==-- SwiftCallingConv.h - Swift ABI lowering -----------------------------==// +//==-- SwiftCallingConv.h - Swift ABI lowering ------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/clang/Frontend/LayoutOverrideSource.h b/include/clang/Frontend/LayoutOverrideSource.h index f7a5c87b77..0b7f7dc7a7 100644 --- a/include/clang/Frontend/LayoutOverrideSource.h +++ b/include/clang/Frontend/LayoutOverrideSource.h @@ -1,4 +1,4 @@ -//===--- LayoutOverrideSource.h --Override Record Layouts -----------------===// +//===--- LayoutOverrideSource.h --Override Record Layouts -------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/clang/Frontend/SerializedDiagnosticPrinter.h b/include/clang/Frontend/SerializedDiagnosticPrinter.h index 2906a6f6a5..dc68c32fb1 100644 --- a/include/clang/Frontend/SerializedDiagnosticPrinter.h +++ b/include/clang/Frontend/SerializedDiagnosticPrinter.h @@ -1,4 +1,4 @@ -//===--- SerializedDiagnosticPrinter.h - Serializer for diagnostics -------===// +//===--- SerializedDiagnosticPrinter.h - Diagnostics serializer -*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/clang/Index/IndexDataConsumer.h b/include/clang/Index/IndexDataConsumer.h index 8115b04af6..6e11455661 100644 --- a/include/clang/Index/IndexDataConsumer.h +++ b/include/clang/Index/IndexDataConsumer.h @@ -1,4 +1,4 @@ -//===--- IndexDataConsumer.h - Abstract index data consumer ---------------===// +//===--- IndexDataConsumer.h - Abstract index data consumer -----*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/clang/Index/IndexSymbol.h b/include/clang/Index/IndexSymbol.h index 1e8439ed5a..068796141d 100644 --- a/include/clang/Index/IndexSymbol.h +++ b/include/clang/Index/IndexSymbol.h @@ -1,4 +1,4 @@ -//===--- IndexSymbol.h - Types and functions for indexing symbols ---------===// +//===- IndexSymbol.h - Types and functions for indexing symbols -*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/clang/Index/IndexingAction.h b/include/clang/Index/IndexingAction.h index 64496a21ec..0d09c40348 100644 --- a/include/clang/Index/IndexingAction.h +++ b/include/clang/Index/IndexingAction.h @@ -1,4 +1,4 @@ -//===--- IndexingAction.h - Frontend index action -------------------------===// +//===--- IndexingAction.h - Frontend index action ---------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/clang/Index/USRGeneration.h b/include/clang/Index/USRGeneration.h index 4ff142ac99..1ece321746 100644 --- a/include/clang/Index/USRGeneration.h +++ b/include/clang/Index/USRGeneration.h @@ -1,4 +1,4 @@ -//===- USRGeneration.h - Routines for USR generation ----------------------===// +//===- USRGeneration.h - Routines for USR generation ------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/include/clang/Sema/SemaFixItUtils.h b/include/clang/Sema/SemaFixItUtils.h index 343ccfb3d6..84dc58754b 100644 --- a/include/clang/Sema/SemaFixItUtils.h +++ b/include/clang/Sema/SemaFixItUtils.h @@ -1,4 +1,4 @@ -//===--- SemaFixItUtils.h - Sema FixIts -----------------------------------===// +//===--- SemaFixItUtils.h - Sema FixIts -------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Basic/Targets.h b/lib/Basic/Targets.h index 6fc967ddab..d450aa3f37 100644 --- a/lib/Basic/Targets.h +++ b/lib/Basic/Targets.h @@ -1,4 +1,4 @@ -//===------- Targets.h - Declare target feature support -------------------===// +//===------- Targets.h - Declare target feature support ---------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Basic/Targets/Sparc.h b/lib/Basic/Targets/Sparc.h index 674a9cce3f..af2189f214 100644 --- a/lib/Basic/Targets/Sparc.h +++ b/lib/Basic/Targets/Sparc.h @@ -1,4 +1,4 @@ -//===--- Sparc.h - Declare Sparc target feature support -------------------===// +//===--- Sparc.h - declare sparc target feature support ---------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Format/BreakableToken.h b/lib/Format/BreakableToken.h index d9713be398..0fac8f08c0 100644 --- a/lib/Format/BreakableToken.h +++ b/lib/Format/BreakableToken.h @@ -1,4 +1,4 @@ -//===--- BreakableToken.h - Format C++ code -------------------------------===// +//===--- BreakableToken.h - Format C++ code ---------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Format/Encoding.h b/lib/Format/Encoding.h index 404a443abc..4c877e7e49 100644 --- a/lib/Format/Encoding.h +++ b/lib/Format/Encoding.h @@ -1,4 +1,4 @@ -//===--- Encoding.h - Format C++ code -------------------------------------===// +//===--- Encoding.h - Format C++ code ---------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // -- 2.40.0