summaryrefslogtreecommitdiff
path: root/include/clang/Lex/Preprocessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Lex/Preprocessor.h')
-rw-r--r--include/clang/Lex/Preprocessor.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h
index 4ec29fe8f331c..e718f5b6bbd00 100644
--- a/include/clang/Lex/Preprocessor.h
+++ b/include/clang/Lex/Preprocessor.h
@@ -255,7 +255,7 @@ class Preprocessor {
/// with this preprocessor.
std::vector<CommentHandler *> CommentHandlers;
- /// True if we want to ignore EOF token and continue later on (thus
+ /// True if we want to ignore EOF token and continue later on (thus
/// avoid tearing the Lexer and etc. down).
bool IncrementalProcessing = false;
@@ -281,7 +281,7 @@ class Preprocessor {
/// for preprocessing.
SourceLocation CodeCompletionFileLoc;
- /// The source location of the \c import contextual keyword we just
+ /// The source location of the \c import contextual keyword we just
/// lexed, if any.
SourceLocation ModuleImportLoc;
@@ -294,7 +294,7 @@ class Preprocessor {
/// Whether the module import expects an identifier next. Otherwise,
/// it expects a '.' or ';'.
bool ModuleImportExpectsIdentifier = false;
-
+
/// The source location of the currently-active
/// \#pragma clang arc_cf_code_audited begin.
SourceLocation PragmaARCCFCodeAuditedLoc;
@@ -814,7 +814,7 @@ public:
/// Retrieve the preprocessor options used to initialize this
/// preprocessor.
PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; }
-
+
DiagnosticsEngine &getDiagnostics() const { return *Diags; }
void setDiagnostics(DiagnosticsEngine &D) { Diags = &D; }
@@ -852,7 +852,7 @@ public:
}
/// True if we are currently preprocessing a #if or #elif directive
- bool isParsingIfOrElifDirective() const {
+ bool isParsingIfOrElifDirective() const {
return ParsingIfOrElifDirective;
}
@@ -1439,7 +1439,7 @@ public:
void enableIncrementalProcessing(bool value = true) {
IncrementalProcessing = value;
}
-
+
/// Specify the point at which code-completion will be performed.
///
/// \param File the file in which code completion should occur. If
@@ -1630,7 +1630,7 @@ public:
}
/// Plop the specified string into a scratch buffer and set the
- /// specified token's location and length to it.
+ /// specified token's location and length to it.
///
/// If specified, the source location provides a location of the expansion
/// point of the token.
@@ -1769,7 +1769,7 @@ public:
void PoisonSEHIdentifiers(bool Poison = true); // Borland
/// Callback invoked when the lexer reads an identifier and has
- /// filled in the tokens IdentifierInfo member.
+ /// filled in the tokens IdentifierInfo member.
///
/// This callback potentially macro expands it or turns it into a named
/// token (like 'for').
@@ -1817,12 +1817,12 @@ public:
/// Retrieves the module that we're currently building, if any.
Module *getCurrentModule();
-
+
/// Allocate a new MacroInfo object with the provided SourceLocation.
MacroInfo *AllocateMacroInfo(SourceLocation L);
/// Turn the specified lexer token into a fully checked and spelled
- /// filename, e.g. as an operand of \#include.
+ /// filename, e.g. as an operand of \#include.
///
/// The caller is expected to provide a buffer that is large enough to hold
/// the spelling of the filename, but is also expected to handle the case
@@ -1846,7 +1846,7 @@ public:
bool *IsMapped, bool SkipCache = false);
/// Get the DirectoryLookup structure used to find the current
- /// FileEntry, if CurLexer is non-null and if applicable.
+ /// FileEntry, if CurLexer is non-null and if applicable.
///
/// This allows us to implement \#include_next and find directory-specific
/// properties.
@@ -1856,7 +1856,7 @@ public:
bool isInPrimaryFile() const;
/// Handle cases where the \#include name is expanded
- /// from a macro as multiple tokens, which need to be glued together.
+ /// from a macro as multiple tokens, which need to be glued together.
///
/// This occurs for code like:
/// \code
@@ -1939,7 +1939,7 @@ private:
/// - # (stringization) is followed by a macro parameter
/// \param MacroNameTok - Token that represents the macro name
/// \param ImmediatelyAfterHeaderGuard - Macro follows an #ifdef header guard
- ///
+ ///
/// Either returns a pointer to a MacroInfo object OR emits a diagnostic and
/// returns a nullptr if an invalid sequence of tokens is encountered.
MacroInfo *ReadOptionalMacroParameterListAndBody(