summaryrefslogtreecommitdiffstats
path: root/include/clang
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-02-02 19:30:52 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-02-02 19:30:52 +0000
commit9e1c1866cd2606ca0d8ebaf8a38eb5951710ea39 (patch)
tree8051f5ec21c72330060bfb991d97dd5e97123459 /include/clang
parent8970d3cb4bb56d4903c1e5ee2c841cdc32ad0e6f (diff)
The prefix 'Ms-' should be 'MS-'
Clang is otherwise consistent that Microsoft be abbreviated as MS, not Ms. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@227842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/Basic/Attr.td8
-rw-r--r--include/clang/Basic/AttrDocs.td2
-rw-r--r--include/clang/Basic/DiagnosticOptions.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/include/clang/Basic/Attr.td b/include/clang/Basic/Attr.td
index 7245e49da8..5171b0c63e 100644
--- a/include/clang/Basic/Attr.td
+++ b/include/clang/Basic/Attr.td
@@ -1761,17 +1761,17 @@ def TypeTagForDatatype : InheritableAttr {
// Microsoft-related attributes
-def MsNoVTable : InheritableAttr {
+def MSNoVTable : InheritableAttr {
let Spellings = [Declspec<"novtable">];
let Subjects = SubjectList<[CXXRecord]>;
- let Documentation = [MsNoVTableDocs];
+ let Documentation = [MSNoVTableDocs];
}
-def MsProperty : IgnoredAttr {
+def : IgnoredAttr {
let Spellings = [Declspec<"property">];
}
-def MsStruct : InheritableAttr {
+def MSStruct : InheritableAttr {
let Spellings = [GCC<"ms_struct">];
let Subjects = SubjectList<[Record]>;
let Documentation = [Undocumented];
diff --git a/include/clang/Basic/AttrDocs.td b/include/clang/Basic/AttrDocs.td
index 933bc3628b..64e4cea5b6 100644
--- a/include/clang/Basic/AttrDocs.td
+++ b/include/clang/Basic/AttrDocs.td
@@ -1253,7 +1253,7 @@ an error:
}];
}
-def MsNoVTableDocs : Documentation {
+def MSNoVTableDocs : Documentation {
let Category = DocCatType;
let Content = [{
This attribute can be added to a class declaration or definition to signal to
diff --git a/include/clang/Basic/DiagnosticOptions.h b/include/clang/Basic/DiagnosticOptions.h
index 058e00f73e..a16c7747ce 100644
--- a/include/clang/Basic/DiagnosticOptions.h
+++ b/include/clang/Basic/DiagnosticOptions.h
@@ -27,7 +27,7 @@ enum OverloadsShown : unsigned {
/// \brief Options for controlling the compiler diagnostics engine.
class DiagnosticOptions : public RefCountedBase<DiagnosticOptions>{
public:
- enum TextDiagnosticFormat { Clang, Msvc, Vi };
+ enum TextDiagnosticFormat { Clang, MSVC, Vi };
// Default values.
enum { DefaultTabStop = 8, MaxTabStop = 100,