clang 19.0.0git
Namespaces | Macros | Functions
NamespaceEndCommentsFixer.cpp File Reference

This file implements NamespaceEndCommentsFixer, a TokenAnalyzer that fixes namespace end comments. More...

#include "NamespaceEndCommentsFixer.h"
#include "clang/Basic/TokenKinds.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Regex.h"

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::format
 

Macros

#define DEBUG_TYPE   "namespace-end-comments-fixer"
 

Functions

const FormatToken * clang::format::getNamespaceToken (const AnnotatedLine *Line, const SmallVectorImpl< AnnotatedLine * > &AnnotatedLines)
 
StringRef clang::format::getNamespaceTokenText (const AnnotatedLine *Line, const SmallVectorImpl< AnnotatedLine * > &AnnotatedLines)
 

Detailed Description

This file implements NamespaceEndCommentsFixer, a TokenAnalyzer that fixes namespace end comments.

Definition in file NamespaceEndCommentsFixer.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "namespace-end-comments-fixer"

Definition at line 20 of file NamespaceEndCommentsFixer.cpp.