forked from OSchip/llvm-project
Revert r240270 ("Fixed/added namespace ending comments using clang-tidy").
llvm-svn: 240353
This commit is contained in:
parent
f530b329c7
commit
ab9db51042
|
@ -117,7 +117,7 @@ protected:
|
|||
|
||||
};
|
||||
|
||||
} // namespace
|
||||
}
|
||||
|
||||
static FrontendPluginRegistry::Add<PrintFunctionNamesAction>
|
||||
X("print-fns", "print function names");
|
||||
|
|
|
@ -70,7 +70,7 @@ protected:
|
|||
bool BeginInvocation(CompilerInstance &CI) override;
|
||||
};
|
||||
|
||||
} // namespace arcmt
|
||||
} // namespace clang
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -290,6 +290,6 @@ namespace clang {
|
|||
bool IsStructurallyEquivalent(QualType From, QualType To,
|
||||
bool Complain = true);
|
||||
};
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif // LLVM_CLANG_AST_ASTIMPORTER_H
|
||||
|
|
|
@ -75,6 +75,6 @@ inline DeclContext *getLambdaAwareParentOfDeclContext(DeclContext *DC) {
|
|||
return DC->getParent();
|
||||
}
|
||||
|
||||
} // namespace clang
|
||||
} // clang
|
||||
|
||||
#endif
|
||||
|
|
|
@ -400,5 +400,5 @@ void ASTVector<T>::grow(const ASTContext &C, size_t MinSize) {
|
|||
Capacity.setPointer(Begin+NewCapacity);
|
||||
}
|
||||
|
||||
} // namespace clang
|
||||
} // end: clang namespace
|
||||
#endif
|
||||
|
|
|
@ -82,6 +82,6 @@ template <> struct isPodLike<clang::BaseSubobject> {
|
|||
static const bool value = true;
|
||||
};
|
||||
|
||||
} // namespace llvm
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -659,7 +659,7 @@ CanProxy<Type> CanTypeIterator<InputIterator>::operator->() const {
|
|||
return CanProxy<Type>(*this);
|
||||
}
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
operator NamedDecl*() const { return getDecl(); }
|
||||
NamedDecl *operator->() const { return getDecl(); }
|
||||
};
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
// Take a moment to tell SmallVector that DeclAccessPair is POD.
|
||||
namespace llvm {
|
||||
|
|
|
@ -54,7 +54,7 @@ class Stmt;
|
|||
class StoredDeclsMap;
|
||||
class TranslationUnitDecl;
|
||||
class UsingDirectiveDecl;
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
@ -1799,7 +1799,7 @@ struct cast_convert_decl_context<ToTy, true> {
|
|||
};
|
||||
|
||||
|
||||
} // namespace clang
|
||||
} // end clang.
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
|
|
@ -242,6 +242,6 @@ inline void CXXRecordDecl::pushFriendDecl(FriendDecl *FD) {
|
|||
data().FirstFriend = FD;
|
||||
}
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -134,7 +134,7 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
} // end clang namespace
|
||||
|
||||
namespace llvm {
|
||||
// DeclGroupRef is "like a pointer", implement PointerLikeTypeTraits.
|
||||
|
@ -151,5 +151,5 @@ namespace llvm {
|
|||
}
|
||||
enum { NumLowBitsAvailable = 0 };
|
||||
};
|
||||
} // namespace llvm
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -184,6 +184,6 @@ inline DeclContext::ddiag_range DeclContext::ddiags() const {
|
|||
return ddiag_range(ddiag_iterator(Map->FirstDiagnostic), ddiag_iterator());
|
||||
}
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -124,6 +124,6 @@ public:
|
|||
EvaluatedExprVisitorBase<make_const_ptr, ImplClass>(Context) { }
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif // LLVM_CLANG_AST_EVALUATEDEXPRVISITOR_H
|
||||
|
|
|
@ -467,7 +467,7 @@ struct PointerLikeTypeTraits<
|
|||
NumLowBitsAvailable = PointerLikeTypeTraits<T>::NumLowBitsAvailable - 1
|
||||
};
|
||||
};
|
||||
} // namespace llvm
|
||||
}
|
||||
|
||||
namespace clang {
|
||||
/// \brief Represents a lazily-loaded vector of data.
|
||||
|
|
|
@ -240,6 +240,6 @@ public:
|
|||
static MicrosoftMangleContext *create(ASTContext &Context,
|
||||
DiagnosticsEngine &Diags);
|
||||
};
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -510,6 +510,6 @@ inline const DiagnosticBuilder &operator<<(const DiagnosticBuilder &DB,
|
|||
return DB;
|
||||
}
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -350,6 +350,6 @@ enum ObjCBridgeCastKind {
|
|||
OBC_BridgeRetained
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -63,5 +63,5 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
} // end clang namespace
|
||||
#endif
|
||||
|
|
|
@ -272,6 +272,6 @@ public:
|
|||
bool isFirstDecl() const { return getFirstDecl() == this; }
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -67,7 +67,7 @@ namespace llvm {
|
|||
|
||||
template <>
|
||||
struct isPodLike<clang::QualType> { static const bool value = true; };
|
||||
} // namespace llvm
|
||||
}
|
||||
|
||||
namespace clang {
|
||||
class ASTContext;
|
||||
|
@ -1008,7 +1008,7 @@ private:
|
|||
static DestructionKind isDestructedTypeImpl(QualType type);
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
} // end clang.
|
||||
|
||||
namespace llvm {
|
||||
/// Implement simplify_type for QualType, so that we can dyn_cast from QualType
|
||||
|
|
|
@ -1952,6 +1952,6 @@ public:
|
|||
};
|
||||
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -74,6 +74,6 @@ namespace llvm {
|
|||
return LHS == RHS;
|
||||
}
|
||||
};
|
||||
} // namespace llvm
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -157,6 +157,6 @@ public:
|
|||
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -44,6 +44,6 @@ private:
|
|||
void mapReachability(const CFGBlock *Dst);
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -260,7 +260,6 @@ namespace consumed {
|
|||
/// exactly once.
|
||||
void run(AnalysisDeclContext &AC);
|
||||
};
|
||||
} // namespace consumed
|
||||
} // namespace clang
|
||||
}} // end namespace clang::consumed
|
||||
|
||||
#endif
|
||||
|
|
|
@ -393,7 +393,7 @@ public:
|
|||
static bool namedTypeToLengthModifier(QualType QT, LengthModifier &LM);
|
||||
};
|
||||
|
||||
} // namespace analyze_format_string
|
||||
} // end analyze_format_string namespace
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
/// Pieces specific to fprintf format strings.
|
||||
|
@ -529,7 +529,7 @@ public:
|
|||
bool hasValidPrecision() const;
|
||||
bool hasValidFieldWidth() const;
|
||||
};
|
||||
} // namespace analyze_printf
|
||||
} // end analyze_printf namespace
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
/// Pieces specific to fscanf format strings.
|
||||
|
@ -595,7 +595,7 @@ public:
|
|||
static ScanfSpecifier Parse(const char *beg, const char *end);
|
||||
};
|
||||
|
||||
} // namespace analyze_scanf
|
||||
} // end analyze_scanf namespace
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Parsing and processing of format strings (both fprintf and fscanf).
|
||||
|
@ -665,6 +665,6 @@ bool ParseScanfString(FormatStringHandler &H,
|
|||
const char *beg, const char *end, const LangOptions &LO,
|
||||
const TargetInfo &Target);
|
||||
|
||||
} // namespace analyze_format_string
|
||||
} // namespace clang
|
||||
} // end analyze_format_string namespace
|
||||
} // end clang namespace
|
||||
#endif
|
||||
|
|
|
@ -109,7 +109,7 @@ public:
|
|||
static PostOrderCFGView *create(AnalysisDeclContext &analysisContext);
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
} // end clang namespace
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -40,6 +40,6 @@ private:
|
|||
bool Analyzed;
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -64,7 +64,6 @@ unsigned ScanReachableFromBlock(const CFGBlock *Start,
|
|||
void FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP,
|
||||
Callback &CB);
|
||||
|
||||
} // namespace reachable_code
|
||||
} // namespace clang
|
||||
}} // end namespace clang::reachable_code
|
||||
|
||||
#endif
|
||||
|
|
|
@ -222,6 +222,5 @@ void threadSafetyCleanup(BeforeSet *Cache);
|
|||
/// of access.
|
||||
LockKind getLockKindFromAccessKind(AccessKind AK);
|
||||
|
||||
} // namespace threadSafety
|
||||
} // namespace clang
|
||||
}} // end namespace clang::threadSafety
|
||||
#endif
|
||||
|
|
|
@ -100,9 +100,9 @@ bool LExpr::implies(const LExpr *RHS) const {
|
|||
return lexpr::implies(this, RHS);
|
||||
}
|
||||
|
||||
} // namespace lexpr
|
||||
} // namespace threadSafety
|
||||
} // namespace clang
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -122,5 +122,5 @@ void runUninitializedVariablesAnalysis(const DeclContext &dc, const CFG &cfg,
|
|||
UninitVariablesHandler &handler,
|
||||
UninitVariablesAnalysisStats &stats);
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -476,5 +476,5 @@ private:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
} // end clang namespace
|
||||
#endif
|
||||
|
|
|
@ -1109,5 +1109,5 @@ template <> struct GraphTraits<Inverse<const ::clang::CFG*> >
|
|||
return F->nodes_end();
|
||||
}
|
||||
};
|
||||
} // namespace llvm
|
||||
} // end llvm namespace
|
||||
#endif
|
||||
|
|
|
@ -48,5 +48,5 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
} // end clang namespace
|
||||
#endif
|
||||
|
|
|
@ -166,7 +166,7 @@ public:
|
|||
void dump() const;
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
} // end clang namespace
|
||||
|
||||
// Graph traits for iteration, viewing.
|
||||
namespace llvm {
|
||||
|
@ -248,6 +248,6 @@ template <> struct GraphTraits<const clang::CallGraph*> :
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace llvm
|
||||
} // end llvm namespace
|
||||
|
||||
#endif
|
||||
|
|
|
@ -41,6 +41,6 @@ public:
|
|||
virtual Stmt *getBody(const FunctionDecl *D) = 0;
|
||||
virtual Stmt *getBody(const ObjCMethodDecl *D) = 0;
|
||||
};
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -37,7 +37,6 @@ namespace coreFoundation {
|
|||
bool followsCreateRule(const FunctionDecl *FD);
|
||||
}
|
||||
|
||||
} // namespace ento
|
||||
} // namespace clang
|
||||
}} // end: "clang:ento"
|
||||
|
||||
#endif
|
||||
|
|
|
@ -41,6 +41,6 @@ public:
|
|||
/// return.
|
||||
bool isImplicitNoReturn(const ObjCMessageExpr *ME);
|
||||
};
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -240,5 +240,5 @@ void BumpVector<T>::grow(BumpVectorContext &C, size_t MinSize) {
|
|||
Capacity = Begin+NewCapacity;
|
||||
}
|
||||
|
||||
} // namespace clang
|
||||
} // end: clang namespace
|
||||
#endif
|
||||
|
|
|
@ -44,8 +44,8 @@ enum ID {
|
|||
/// to target-specific ones.
|
||||
typedef unsigned Map[Count];
|
||||
|
||||
} // namespace LangAS
|
||||
}
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -189,6 +189,6 @@ private:
|
|||
const char *Fmt) const;
|
||||
};
|
||||
|
||||
} // namespace Builtin
|
||||
}
|
||||
} // end namespace clang
|
||||
#endif
|
||||
|
|
|
@ -76,7 +76,7 @@ namespace clang {
|
|||
Remark ///< A diagnostic that indicates normal progress through
|
||||
///< compilation.
|
||||
};
|
||||
} // namespace diag
|
||||
}
|
||||
|
||||
class DiagnosticMapping {
|
||||
unsigned Severity : 3;
|
||||
|
|
|
@ -47,7 +47,7 @@ namespace llvm {
|
|||
class raw_ostream;
|
||||
class raw_pwrite_stream;
|
||||
// TODO: DenseMap, ...
|
||||
} // namespace llvm
|
||||
}
|
||||
|
||||
|
||||
namespace clang {
|
||||
|
|
|
@ -117,7 +117,7 @@ bool isOpenMPPrivate(OpenMPClauseKind Kind);
|
|||
/// \return true - the clause is a threadprivate clause, otherwise - false.
|
||||
bool isOpenMPThreadPrivate(OpenMPClauseKind Kind);
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ namespace prec {
|
|||
Multiplicative = 13, // *, /, %
|
||||
PointerToMember = 14 // .*, ->*
|
||||
};
|
||||
} // namespace prec
|
||||
}
|
||||
|
||||
/// \brief Return the precedence of the specified binary operator token.
|
||||
prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
|
||||
|
|
|
@ -113,7 +113,7 @@ inline void EmitRange(raw_ostream &o, const SourceManager &SM,
|
|||
EmitLocation(o, SM, R.getEnd(), FM, indent + 1);
|
||||
Indent(o, indent) << "</array>\n";
|
||||
}
|
||||
} // namespace markup
|
||||
} // namespace clang
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -33,6 +33,6 @@ namespace clang {
|
|||
: SM(sm), Loc(L), Message(Msg) {}
|
||||
void print(raw_ostream &OS) const override;
|
||||
};
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -44,7 +44,7 @@ enum SanitizerOrdinal : uint64_t {
|
|||
const SanitizerMask ID##Group = 1ULL << SO_##ID##Group;
|
||||
#include "clang/Basic/Sanitizers.def"
|
||||
|
||||
} // namespace SanitizerKind
|
||||
}
|
||||
|
||||
struct SanitizerSet {
|
||||
SanitizerSet();
|
||||
|
|
|
@ -423,7 +423,7 @@ namespace SrcMgr {
|
|||
return E;
|
||||
}
|
||||
};
|
||||
} // namespace SrcMgr
|
||||
} // end SrcMgr namespace.
|
||||
|
||||
/// \brief External source of source location entries.
|
||||
class ExternalSLocEntrySource {
|
||||
|
|
|
@ -38,7 +38,7 @@ enum TemplateNameKind {
|
|||
TNK_Dependent_template_name
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -94,6 +94,6 @@ namespace clang {
|
|||
UETT_AlignOf,
|
||||
UETT_VecStep
|
||||
};
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -77,6 +77,6 @@ namespace clang {
|
|||
/// for use in the CPP __VERSION__ macro, which includes the clang version
|
||||
/// number, the repository version, and the vendor tag.
|
||||
std::string getClangFullCPPVersion();
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif // LLVM_CLANG_BASIC_VERSION_H
|
||||
|
|
|
@ -136,6 +136,6 @@ public:
|
|||
if (withVis) mergeVisibility(other);
|
||||
}
|
||||
};
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif // LLVM_CLANG_BASIC_VISIBILITY_H
|
||||
|
|
|
@ -35,6 +35,6 @@ namespace clang {
|
|||
const TargetOptions &TOpts, const LangOptions &LOpts,
|
||||
StringRef TDesc, llvm::Module *M, BackendAction Action,
|
||||
raw_pwrite_stream *OS);
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -98,6 +98,6 @@ public:
|
|||
EmitObjAction(llvm::LLVMContext *_VMContext = nullptr);
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -45,6 +45,6 @@ namespace clang {
|
|||
const CodeGenOptions &CGO,
|
||||
llvm::LLVMContext& C,
|
||||
CoverageSourceInfo *CoverageInfo = nullptr);
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -168,8 +168,8 @@ private:
|
|||
};
|
||||
|
||||
raw_ostream &operator<<(raw_ostream &OS, const MultilibSet &MS);
|
||||
} // namespace driver
|
||||
} // namespace clang
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -42,10 +42,10 @@ enum ID {
|
|||
LastOption
|
||||
#undef OPTION
|
||||
};
|
||||
} // namespace options
|
||||
}
|
||||
|
||||
llvm::opt::OptTable *createDriverOptTable();
|
||||
} // namespace driver
|
||||
} // namespace clang
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -142,7 +142,7 @@ private:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace edit
|
||||
}
|
||||
|
||||
} // end namespace clang
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ private:
|
|||
FileEditsTy::iterator getActionForOffset(FileOffset Offs);
|
||||
};
|
||||
|
||||
} // namespace edit
|
||||
}
|
||||
|
||||
} // end namespace clang
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
virtual void remove(CharSourceRange range);
|
||||
};
|
||||
|
||||
} // namespace edit
|
||||
}
|
||||
|
||||
} // end namespace clang
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace edit
|
||||
}
|
||||
|
||||
} // end namespace clang
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ bool rewriteToObjCLiteralSyntax(const ObjCMessageExpr *Msg,
|
|||
bool rewriteToObjCSubscriptSyntax(const ObjCMessageExpr *Msg,
|
||||
const NSAPI &NS, Commit &commit);
|
||||
|
||||
} // namespace edit
|
||||
}
|
||||
|
||||
} // end namespace clang
|
||||
|
||||
|
|
|
@ -53,6 +53,6 @@ std::unique_ptr<ASTConsumer> CreateASTViewer();
|
|||
// to stderr; this is intended for debugging.
|
||||
std::unique_ptr<ASTConsumer> CreateDeclContextPrinter();
|
||||
|
||||
} // namespace clang
|
||||
} // end clang namespace
|
||||
|
||||
#endif
|
||||
|
|
|
@ -67,6 +67,6 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
} // end namspace clang
|
||||
|
||||
#endif
|
||||
|
|
|
@ -51,7 +51,7 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
namespace llvm {
|
||||
namespace cl {
|
||||
|
@ -81,7 +81,7 @@ namespace llvm {
|
|||
|
||||
return false;
|
||||
}
|
||||
} // namespace cl
|
||||
} // namespace llvm
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -172,5 +172,5 @@ public:
|
|||
virtual void emitNote(SourceLocation Loc, StringRef Message,
|
||||
const SourceManager *SM) = 0;
|
||||
};
|
||||
} // namespace clang
|
||||
} // end clang namespace
|
||||
#endif
|
||||
|
|
|
@ -56,7 +56,7 @@ namespace frontend {
|
|||
MigrateSource, ///< Run migrator.
|
||||
RunPreprocessorOnly ///< Just lex, no output.
|
||||
};
|
||||
} // namespace frontend
|
||||
}
|
||||
|
||||
enum InputKind {
|
||||
IK_None,
|
||||
|
|
|
@ -32,7 +32,7 @@ enum LangFeatures {
|
|||
ImplicitInt = (1 << 11)
|
||||
};
|
||||
|
||||
} // namespace frontend
|
||||
}
|
||||
|
||||
/// LangStandard - Information about the properties of a particular language
|
||||
/// standard.
|
||||
|
|
|
@ -58,6 +58,6 @@ namespace clang {
|
|||
/// \brief Dump the overridden layouts.
|
||||
void dump();
|
||||
};
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -27,5 +27,5 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -37,7 +37,7 @@ std::unique_ptr<DiagnosticConsumer> create(StringRef OutputFile,
|
|||
DiagnosticOptions *Diags,
|
||||
bool MergeChildRecords = false);
|
||||
|
||||
} // namespace serialized_diags
|
||||
} // namespace clang
|
||||
} // end serialized_diags namespace
|
||||
} // end clang namespace
|
||||
|
||||
#endif
|
||||
|
|
|
@ -120,8 +120,8 @@ protected:
|
|||
};
|
||||
};
|
||||
|
||||
} // namespace serialized_diags
|
||||
} // namespace clang
|
||||
} // end serialized_diags namespace
|
||||
} // end clang namespace
|
||||
|
||||
namespace std {
|
||||
template <>
|
||||
|
|
|
@ -53,7 +53,7 @@ enum Level {
|
|||
/// \brief The serialized diagnostics version number.
|
||||
enum { VersionNumber = 2 };
|
||||
|
||||
} // namespace serialized_diags
|
||||
} // namespace clang
|
||||
} // end serialized_diags namespace
|
||||
} // end clang namespace
|
||||
|
||||
#endif
|
||||
|
|
|
@ -50,6 +50,6 @@ public:
|
|||
void FlushDiagnostics(DiagnosticsEngine &Diags) const;
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
} // end namspace clang
|
||||
|
||||
#endif
|
||||
|
|
|
@ -273,6 +273,6 @@ public:
|
|||
const Diagnostic &Info) override;
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
} // end namspace clang
|
||||
|
||||
#endif
|
||||
|
|
|
@ -66,6 +66,6 @@ public:
|
|||
virtual void CodeCompleteNaturalLanguage() { }
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif // LLVM_CLANG_LEX_CODECOMPLETIONHANDLER_H
|
||||
|
|
|
@ -38,6 +38,6 @@ public:
|
|||
virtual Module *getModule(unsigned ModuleID) = 0;
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace frontend {
|
|||
ObjCXXSystem, ///< Like System, but only used for ObjC++.
|
||||
After ///< Like System, but searched after the system directories.
|
||||
};
|
||||
} // namespace frontend
|
||||
}
|
||||
|
||||
/// HeaderSearchOptions - Helper class for storing options related to the
|
||||
/// initialization of the HeaderSearch object.
|
||||
|
|
|
@ -124,6 +124,6 @@ public:
|
|||
bool HadFatalFailure;
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -466,5 +466,5 @@ public:
|
|||
module_iterator module_end() const { return Modules.end(); }
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -67,6 +67,6 @@ namespace clang {
|
|||
/// is literally 'L', 'u', 'U', or 'u8'.
|
||||
bool IsIdentifierStringPrefix(const Token &Tok) const;
|
||||
};
|
||||
} // namespace clang
|
||||
} // end clang namespace
|
||||
|
||||
#endif
|
||||
|
|
|
@ -75,7 +75,7 @@ namespace html {
|
|||
/// reasonably close.
|
||||
void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
|
||||
|
||||
} // namespace html
|
||||
} // namespace clang
|
||||
} // end html namespace
|
||||
} // end clang namespace
|
||||
|
||||
#endif
|
||||
|
|
|
@ -43,6 +43,6 @@ std::unique_ptr<ASTConsumer> CreateHTMLPrinter(raw_ostream *OS,
|
|||
bool SyntaxHighlight = true,
|
||||
bool HighlightMacros = true);
|
||||
|
||||
} // namespace clang
|
||||
} // end clang namespace
|
||||
|
||||
#endif
|
||||
|
|
|
@ -127,6 +127,6 @@ public:
|
|||
void Diag(SourceLocation Loc, unsigned DiagID);
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -98,7 +98,6 @@ public:
|
|||
void PrintStats() const;
|
||||
};
|
||||
|
||||
} // namespace sema
|
||||
} // namespace clang
|
||||
}} // end namespace clang::sema
|
||||
|
||||
#endif
|
||||
|
|
|
@ -291,7 +291,7 @@ public:
|
|||
bool pool_empty() const { return Diagnostics.empty(); }
|
||||
};
|
||||
|
||||
} // namespace sema
|
||||
}
|
||||
|
||||
/// Add a diagnostic to the current delay pool.
|
||||
inline void Sema::DelayedDiagnostics::add(const sema::DelayedDiagnostic &diag) {
|
||||
|
@ -300,6 +300,6 @@ inline void Sema::DelayedDiagnostics::add(const sema::DelayedDiagnostic &diag) {
|
|||
}
|
||||
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -750,6 +750,6 @@ public:
|
|||
iterator end() { return iterator(Decls.end()); }
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -53,6 +53,6 @@ struct ObjCMethodList {
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -103,7 +103,7 @@ namespace clang {
|
|||
return *this;
|
||||
}
|
||||
};
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
namespace llvm {
|
||||
template <class T>
|
||||
|
@ -121,7 +121,7 @@ namespace llvm {
|
|||
|
||||
template <class T>
|
||||
struct isPodLike<clang::OpaquePtr<T> > { static const bool value = true; };
|
||||
} // namespace llvm
|
||||
}
|
||||
|
||||
namespace clang {
|
||||
// Basic
|
||||
|
@ -282,6 +282,6 @@ namespace clang {
|
|||
assert(!R.isInvalid() && "operation was asserted to never fail!");
|
||||
return R.get();
|
||||
}
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -209,6 +209,6 @@ namespace clang {
|
|||
/// Retrieves the range of the given template parameter lists.
|
||||
SourceRange getTemplateParamsRange(TemplateParameterList const *const *Params,
|
||||
unsigned NumParams);
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -42,6 +42,6 @@ public:
|
|||
void print(raw_ostream &OS) const override;
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -198,7 +198,7 @@ namespace sema {
|
|||
class LambdaScopeInfo;
|
||||
class PossiblyUnreachableDiag;
|
||||
class TemplateDeductionInfo;
|
||||
} // namespace sema
|
||||
}
|
||||
|
||||
namespace threadSafety {
|
||||
class BeforeSet;
|
||||
|
|
|
@ -43,6 +43,6 @@ namespace clang {
|
|||
return Consumer->SemaConsumer;
|
||||
}
|
||||
};
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -87,5 +87,5 @@ struct ConversionFixItGenerator {
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
} // endof namespace clang
|
||||
#endif
|
||||
|
|
|
@ -31,6 +31,6 @@ Optional<unsigned> getStackIndexOfNearestEnclosingCaptureCapableLambda(
|
|||
ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes,
|
||||
VarDecl *VarToCapture, Sema &S);
|
||||
|
||||
} // namespace clang
|
||||
} // clang
|
||||
|
||||
#endif
|
||||
|
|
|
@ -513,6 +513,6 @@ namespace clang {
|
|||
VarTemplatePartialSpecializationDecl *PartialSpec);
|
||||
void InstantiateEnumDefinition(EnumDecl *Enum, EnumDecl *Pattern);
|
||||
};
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif // LLVM_CLANG_SEMA_TEMPLATE_H
|
||||
|
|
|
@ -355,6 +355,6 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
} // namespace clang
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1481,7 +1481,7 @@ namespace clang {
|
|||
};
|
||||
|
||||
/// @}
|
||||
} // namespace serialization
|
||||
}
|
||||
} // end namespace clang
|
||||
|
||||
#endif
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue