r201516 - Fixing build bot breakage due to using a local type as a template argument.
Aaron Ballman
aaron at aaronballman.com
Mon Feb 17 07:36:08 PST 2014
Author: aaronballman
Date: Mon Feb 17 09:36:08 2014
New Revision: 201516
URL: http://llvm.org/viewvc/llvm-project?rev=201516&view=rev
Log:
Fixing build bot breakage due to using a local type as a template argument.
Modified:
cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp
Modified: cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp?rev=201516&r1=201515&r2=201516&view=diff
==============================================================================
--- cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp (original)
+++ cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp Mon Feb 17 09:36:08 2014
@@ -2677,6 +2677,13 @@ static void WriteCategoryHeader(Document
OS << "\n";
}
+enum SpellingKind {
+ GNU = 1 << 0,
+ CXX11 = 1 << 1,
+ Declspec = 1 << 2,
+ Keyword = 1 << 3
+};
+
static void WriteDocumentation(const DocumentationData &Doc,
raw_ostream &OS) {
// FIXME: there is no way to have a per-spelling category for the attribute
@@ -2715,13 +2722,6 @@ static void WriteDocumentation(const Doc
// semantic characters are still acceptable.
std::vector<std::string> Names;
- enum SpellingKind {
- GNU = 1 << 0,
- CXX11 = 1 << 1,
- Declspec = 1 << 2,
- Keyword = 1 << 3
- };
-
unsigned SupportedSpellings = 0;
for (std::vector<FlattenedSpelling>::const_iterator I = Spellings.begin(),
E = Spellings.end(); I != E; ++I) {
More information about the cfe-commits
mailing list