]> granicus.if.org Git - clang/commitdiff
NFC: Add the emacs c++ mode hint "-*- C++ -*-" to the headers that don't have it
authorErik Pilkington <erik.pilkington@gmail.com>
Tue, 24 Jul 2018 00:07:49 +0000 (00:07 +0000)
committerErik Pilkington <erik.pilkington@gmail.com>
Tue, 24 Jul 2018 00:07:49 +0000 (00:07 +0000)
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

14 files changed:
include/clang/AST/TypeOrdering.h
include/clang/Basic/CharInfo.h
include/clang/CodeGen/SwiftCallingConv.h
include/clang/Frontend/LayoutOverrideSource.h
include/clang/Frontend/SerializedDiagnosticPrinter.h
include/clang/Index/IndexDataConsumer.h
include/clang/Index/IndexSymbol.h
include/clang/Index/IndexingAction.h
include/clang/Index/USRGeneration.h
include/clang/Sema/SemaFixItUtils.h
lib/Basic/Targets.h
lib/Basic/Targets/Sparc.h
lib/Format/BreakableToken.h
lib/Format/Encoding.h

index 5f16969dca6ac0bc11a937aeb407ebcd354831f2..d29dd6d60124774b7ce9a9e9fb5b90133b4765fb 100644 (file)
@@ -1,4 +1,4 @@
-//===-------------- TypeOrdering.h - Total ordering for types -------------===//
+//===-------------- TypeOrdering.h - Total ordering for types ---*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index be49f360d60f926c880d9fa670e927412e1f5a43..e6c5e90d346c62f12b3ab288fd9c3d69e602f2ad 100644 (file)
@@ -1,4 +1,4 @@
-//===--- clang/Basic/CharInfo.h - Classifying ASCII Characters ------------===//
+//===--- clang/Basic/CharInfo.h - Classifying ASCII Characters --*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index a5ea90018593186e943f152d49682aba6147fc01..45b3145ed9f1a323a11e58399c36e6d2fe2f0652 100644 (file)
@@ -1,4 +1,4 @@
-//==-- SwiftCallingConv.h - Swift ABI lowering -----------------------------==//
+//==-- SwiftCallingConv.h - Swift ABI lowering ------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index f7a5c87b77e890d6c8340d173acaafd386dee52b..0b7f7dc7a7d67af55121ddb54eeef728c34a0811 100644 (file)
@@ -1,4 +1,4 @@
-//===--- LayoutOverrideSource.h --Override Record Layouts -----------------===//
+//===--- LayoutOverrideSource.h --Override Record Layouts -------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 2906a6f6a5ecfb78841c103b5fd95fb7eb8915ba..dc68c32fb15aed868adf926d1af832a7c77e37c6 100644 (file)
@@ -1,4 +1,4 @@
-//===--- SerializedDiagnosticPrinter.h - Serializer for diagnostics -------===//
+//===--- SerializedDiagnosticPrinter.h - Diagnostics serializer -*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 8115b04af6555d65f7e630549808b9ed2a8b9bd6..6e11455661a09001f06c418a92e2ece7d0975fca 100644 (file)
@@ -1,4 +1,4 @@
-//===--- IndexDataConsumer.h - Abstract index data consumer ---------------===//
+//===--- IndexDataConsumer.h - Abstract index data consumer -----*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 1e8439ed5ab5cbd5e66cc7f6ebf8862276f10059..068796141df8bcf0e9ed28c69bfba3ebde1da4dc 100644 (file)
@@ -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
 //
index 64496a21ec535067c1d0515005a5af4dd34251c5..0d09c403483d9aa1ba876357b5093568e8554b75 100644 (file)
@@ -1,4 +1,4 @@
-//===--- IndexingAction.h - Frontend index action -------------------------===//
+//===--- IndexingAction.h - Frontend index action ---------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 4ff142ac9933258779975384f92e106fd93859b1..1ece321746a60066238d0ee4f9ee094e9200acbe 100644 (file)
@@ -1,4 +1,4 @@
-//===- USRGeneration.h - Routines for USR generation ----------------------===//
+//===- USRGeneration.h - Routines for USR generation ------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 343ccfb3d6307fb57b4d243890f4ba278ded1ac1..84dc58754b7be03105d3352df546ffbe6cbfd1df 100644 (file)
@@ -1,4 +1,4 @@
-//===--- SemaFixItUtils.h - Sema FixIts -----------------------------------===//
+//===--- SemaFixItUtils.h - Sema FixIts -------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 6fc967ddabee04b8180c4a5d3c733f2e1d768cf8..d450aa3f37ed66f43daa6303b40d6c0a1a6e7b58 100644 (file)
@@ -1,4 +1,4 @@
-//===------- Targets.h - Declare target feature support -------------------===//
+//===------- Targets.h - Declare target feature support ---------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 674a9cce3f1850585b089fcbea3248634cbda82e..af2189f214687f506422d3a1b24395e62e5c993a 100644 (file)
@@ -1,4 +1,4 @@
-//===--- Sparc.h - Declare Sparc target feature support -------------------===//
+//===--- Sparc.h - declare sparc target feature support ---------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index d9713be3980df59eb0688b3835a83b78ccdc5f3a..0fac8f08c02688ea154ed310d333056839fa37f3 100644 (file)
@@ -1,4 +1,4 @@
-//===--- BreakableToken.h - Format C++ code -------------------------------===//
+//===--- BreakableToken.h - Format C++ code ---------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 404a443abcf705a889876e9684254fd75fec5ee4..4c877e7e49d567789471208af009970a9c487176 100644 (file)
@@ -1,4 +1,4 @@
-//===--- Encoding.h - Format C++ code -------------------------------------===//
+//===--- Encoding.h - Format C++ code ---------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //