Home
last modified time | relevance | path

Searched full:preprocessor (Results 1 – 25 of 729) sorted by relevance

12345678910>>...30

/freebsd/crypto/openssl/external/perl/Text-Template-1.56/lib/Text/Template/
H A DPreprocess.pm16 my $pp = $args{PREPROCESSOR} || $self->{PREPROCESSOR};
32 sub preprocessor { subroutine
35 my $old_pp = $self->{PREPROCESSOR};
37 $self->{PREPROCESSOR} = $pp if @_ > 1; # OK to pass $pp=undef
65 my $result = $t->fill_in(..., PREPROCESSOR => \&pp);
67 my $old_pp = $t->preprocessor(\&new_pp);
71 C<Text::Template::Preprocess> provides a new C<PREPROCESSOR> option to
72 C<fill_in>. If the C<PREPROCESSOR> option is supplied, it must be a
73 reference to a preprocessor subroutine. When filling out a template,
74 C<Text::Template::Preprocessor> will use this subroutine to preprocess
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPCaching.cpp9 // This file implements pieces of the Preprocessor interface that manage the
14 #include "clang/Lex/Preprocessor.h"
17 std::pair<Preprocessor::CachedTokensTy::size_type, bool>
18 Preprocessor::LastBacktrackPos() { in LastBacktrackPos()
27 // until CommitBacktrackedTokens() or Backtrack() is called, the Preprocessor
29 // make the Preprocessor re-lex the same tokens.
34 void Preprocessor::EnableBacktrackAtThisPos(bool Unannotated) { in EnableBacktrackAtThisPos()
42 Preprocessor::CachedTokensTy Preprocessor::PopUnannotatedBacktrackTokens() { in PopUnannotatedBacktrackTokens()
56 void Preprocessor::CommitBacktrackedTokens() { in CommitBacktrackedTokens()
64 // Make Preprocessor re-lex the tokens that were lexed since
[all …]
H A DPreprocessor.cpp1 //===- Preprocessor.cpp - C Language Family Preprocessor Implementation ---===//
9 // This file implements the Preprocessor interface.
16 // -fworking-directory - #line's with preprocessor's working dir.
27 #include "clang/Lex/Preprocessor.h"
81 Preprocessor::Preprocessor(const PreprocessorOptions &PPOpts, in Preprocessor() function in Preprocessor
93 // deferred to Preprocessor::Initialize(). in Preprocessor()
170 Preprocessor::~Preprocessor() { in ~Preprocessor()
190 void Preprocessor::Initialize(const TargetInfo &Target, in Initialize()
218 void Preprocessor::InitializeForModelFile() { in InitializeForModelFile()
230 void Preprocessor::FinalizeForModelFile() { in FinalizeForModelFile()
[all …]
H A DPragma.cpp10 // pragma related methods of the Preprocessor class.
31 #include "clang/Lex/Preprocessor.h"
63 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
103 void PragmaNamespace::HandlePragma(Preprocessor &PP, in HandlePragma()
124 // Preprocessor Pragma Directive Handling.
132 Preprocessor &Self;
163 void Preprocessor::HandlePragmaDirective(PragmaIntroducer Introducer) { in HandlePragmaDirective()
185 void Preprocessor::Handle_Pragma(Token &Tok) { in Handle_Pragma()
354 void Preprocessor::HandleMicrosoft__pragma(Token &Tok) { in HandleMicrosoft__pragma()
413 void Preprocessor::HandlePragmaOnce(Token &OnceTok) { in HandlePragmaOnce()
[all …]
H A DPPLexerChange.cpp1 //===--- PPLexerChange.cpp - Handle changing lexers in the preprocessor ---===//
9 // This file implements pieces of the Preprocessor interface that manage the
19 #include "clang/Lex/Preprocessor.h"
34 bool Preprocessor::isInPrimaryFile() const { in isInPrimaryFile()
49 PreprocessorLexer *Preprocessor::getCurrentFileLexer() const { in getCurrentFileLexer()
68 bool Preprocessor::EnterSourceFile(FileID FID, ConstSearchDirIterator CurDir, in EnterSourceFile()
106 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer()
144 void Preprocessor::EnterMacro(Token &Tok, SourceLocation ILEnd, in EnterMacro()
173 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream()
240 void Preprocessor::PropagateLineStartLeadingSpaceInfo(Token &Result) { in PropagateLineStartLeadingSpaceInfo()
[all …]
H A DMacroArgs.cpp16 #include "clang/Lex/Preprocessor.h"
25 bool VarargsElided, Preprocessor &PP) { in create()
77 void MacroArgs::destroy(Preprocessor &PP) { in destroy()
83 // Add this to the preprocessor's free list. in destroy()
88 /// deallocate - This should only be called by the Preprocessor when managing
136 Preprocessor &PP) { in invokedWithVariadicArgument()
146 Preprocessor &PP) const { in ArgNeedsPreexpansion()
161 Preprocessor &PP) { in getPreExpArgument()
204 /// preprocessor operator. If Charify is true, then it should be turned into
208 Preprocessor &PP, bool Charify, in StringifyArgument()
/freebsd/sys/dev/aq/
H A Daq_hw_llh_internal.h35 /* File aq_hw_llh_internal.h: Preprocessor definitions
67 /* preprocessor definitions for msm rx errors counter register */
70 /* preprocessor definitions for msm rx unicast frames counter register */
73 /* preprocessor definitions for msm rx multicast frames counter register */
76 /* preprocessor definitions for msm rx broadcast frames counter register */
79 /* preprocessor definitions for msm rx broadcast octets counter register 1 */
82 /* preprocessor definitions for msm rx broadcast octets counter register 2 */
85 /* preprocessor definitions for msm rx unicast octets counter register 0 */
88 /* preprocessor definitions for rx dma statistics counter 7 */
91 /* preprocessor definitions for msm tx unicast frames counter register */
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dtroff9 0 search/1 .\\" troff or preprocessor input text
12 0 search/1 '\\" troff or preprocessor input text
15 0 search/1 '.\\" troff or preprocessor input text
18 0 search/1 \\" troff or preprocessor input text
21 #0 search/1 ''' troff or preprocessor input text
23 0 regex/20l \^\\.[A-Za-z][A-Za-z0-9][\ \t] troff or preprocessor input text
26 0 regex/20l \^\\.[A-Za-z][A-Za-z0-9]$ troff or preprocessor input text
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DCodeCompletionHandler.h1 //===--- CodeCompletionHandler.h - Preprocessor code completion -*- C++ -*-===//
10 // code-completion callbacks for the preprocessor.
24 /// completion within the preprocessor.
29 /// Callback invoked when performing code completion for a preprocessor
32 /// This callback will be invoked when the preprocessor processes a '#' at the
35 /// \param InConditional Whether we're inside a preprocessor conditional
40 /// code that was excluded due to preprocessor conditionals.
50 /// Callback invoked when performing code completion in a preprocessor
H A DMacroArgs.h24 class Preprocessor; variable
52 /// Preprocessor owns which we use to avoid thrashing malloc/free.
68 bool VarargsElided, Preprocessor &PP);
72 void destroy(Preprocessor &PP);
76 bool ArgNeedsPreexpansion(const Token *ArgTok, Preprocessor &PP) const;
91 getPreExpArgument(unsigned Arg, Preprocessor &PP);
117 bool invokedWithVariadicArgument(const MacroInfo *const MI, Preprocessor &PP);
121 /// preprocessor operator. If Charify is true, then it should be turned into
125 Preprocessor &PP, bool Charify,
130 /// deallocate - This should only be called by the Preprocessor when managing
H A DPreprocessor.h1 //===- Preprocessor.h - C Language Family Preprocessor ----------*- C++ -*-===//
10 /// Defines the clang::Preprocessor interface.
143 /// know anything about preprocessor-level issues like the \#include stack,
145 class Preprocessor {
150 /// Functor for getting the dependency preprocessor directives of a file.
153 /// source input is scanned for the preprocessor directives that might have an
171 /// objects internal to the Preprocessor.
236 // State that is set before the preprocessor begins.
241 // State that changes while the preprocessor runs:
244 /// Whether the preprocessor owns the header search object.
[all …]
H A DTokenLexer.h23 class Preprocessor; variable
31 friend class Preprocessor; variable
40 /// The current preprocessor object we are expanding for.
41 Preprocessor &PP;
47 /// the preprocessor, or some other buffer that we may or may not own
49 /// Note that if it points into Preprocessor's cache buffer, the Preprocessor
109 MacroArgs *ActualArgs, Preprocessor &pp) in TokenLexer()
118 bool ownsTokens, bool isReinject, Preprocessor &pp) in TokenLexer()
151 /// preprocessor directive.
238 Preprocessor &PP);
H A DPPEmbedParameters.h9 // Defines all of the preprocessor directive parmeters for #embed
22 /// Preprocessor extension embed parameter "clang::offset"
32 /// Preprocessor standard embed parameter "limit"
42 /// Preprocessor standard embed parameter "prefix"
52 /// Preprocessor standard embed parameter "suffix"
62 /// Preprocessor standard embed parameter "if_empty"
H A DDependencyDirectivesScanner.h11 /// minimum necessary preprocessor directives for evaluating includes. It
13 /// conditional preprocessor logic that contains one of those.
58 /// Represents the kind of preprocessor directive or a module declaration that
94 /// scanning. It's used to track various preprocessor directives that could
109 /// Scan the input for the preprocessor directives that might have
112 /// This function ignores all non-preprocessor code and anything that
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DMacroExpansionContext.h14 #include "clang/Lex/Preprocessor.h"
27 /// Preprocessor. It means that it can track source locations from a single
71 /// \remark MacroExpansionContext object must outlive the Preprocessor
80 /// Register the necessary callbacks to the Preprocessor to record the
82 /// outlives the given Preprocessor.
83 void registerForPreprocessor(Preprocessor &PP);
118 Preprocessor *PP = nullptr;
122 /// This callback is called by the preprocessor.
/freebsd/contrib/ncurses/ncurses/tty/
H A DMKexpanded.sh40 preprocessor="$1"
42 preprocessor="cc -E"
46 preprocessor="$preprocessor $*"
48 preprocessor="$preprocessor -DHAVE_CONFIG_H -I. -I../include"
129 $preprocessor $TMP 2>/dev/null | \
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DTokens.h8 // Record tokens that a preprocessor emits and define operations to map between
9 // the tokens written in a file and tokens produced by the preprocessor.
44 class Preprocessor; variable
151 /// 1. Expanded tokens: tokens produced by the preprocessor after all macro
183 /// All tokens produced by the preprocessor after all macro replacements,
238 /// directives or disabled preprocessor branches.
264 /// An expansion produced by the preprocessor, includes macro expansions and
265 /// preprocessor directives. Preprocessor always maps a non-empty range of
278 /// a preprocessor directive) return the subrange of expanded tokens that the
315 /// expanded tokens. Represents macro expansions, preprocessor directives,
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DMacroPPCallbacks.h22 class Preprocessor; variable
30 /// Preprocessor.
31 Preprocessor &PP;
63 /// Use the passed preprocessor to write the macro name and value from the
69 /// \param PP Preprocessor.
73 const MacroInfo &MI, Preprocessor &PP,
90 MacroPPCallbacks(CodeGenerator *Gen, Preprocessor &PP);
H A DCoverageMappingGen.h19 #include "clang/Lex/Preprocessor.h"
34 class Preprocessor; variable
40 PPIfElse, // Preprocessor #if/#else ...
66 /// the preprocessor.
77 // updated every time Preprocessor::Lex lexes a new token.
90 bool HandleComment(Preprocessor &PP, SourceRange Range) override;
129 static CoverageSourceInfo *setUpCoverageCallbacks(Preprocessor &PP);
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.h45 /// Whether this \c UnwrappedLine is part of a preprocessor directive.
258 // Compute hash of the current preprocessor branch.
305 // Has just finished parsing a preprocessor line.
311 // Preprocessor directives are parsed out-of-order from other unwrapped lines.
312 // Thus, we need to keep a list of preprocessor directives to be reported
317 // Usually points to \c &Lines. While parsing a preprocessor directive when
350 // Represents preprocessor branch type, so we can find matching
354 PP_Unreachable // #if 0 or a conditional preprocessor block inside #if 0
363 // Keeps a stack of currently active preprocessor branching directives.
367 // of preprocessor branches that can be taken.
[all …]
/freebsd/usr.bin/mkdep/
H A Dmkdep.158 The user has the ability to change the preprocessor and preprocessor options
62 as the preprocessor and to ignore system
106 Specifies the preprocessor to use.
109 Specifies the non-CFLAGS options for the preprocessor.
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp18 #include "clang/Lex/Preprocessor.h"
35 Preprocessor &PP;
39 HTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &pp, in HTMLPrinter()
50 clang::CreateHTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &PP, in CreateHTMLPrinter()
79 // If we have a preprocessor, relex the file and syntax highlight. in HandleTranslationUnit()
80 // We might not have a preprocessor if we come from a deserialized AST file, in HandleTranslationUnit()
H A DInclusionRewriter.cpp18 #include "clang/Lex/Preprocessor.h"
30 /// created by preprocessor callbacks.
37 Preprocessor &PP; ///< Used to find inclusion directives.
41 llvm::MemoryBufferRef PredefinesBuffer; ///< The preprocessor predefines.
56 InclusionRewriter(Preprocessor &PP, raw_ostream &OS, bool ShowLineMarkers,
107 InclusionRewriter::InclusionRewriter(Preprocessor &PP, raw_ostream &OS, in InclusionRewriter()
129 // http://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html in WriteLineInfo()
152 /// FileChanged - Whenever the preprocessor enters or exits a #include file
181 /// This should be called whenever the preprocessor encounters include
520 // the whole #include could be inside a preprocessor conditional in Process()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/
H A DRewriters.h19 class Preprocessor; variable
23 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS);
26 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS);
29 void RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS,
/freebsd/contrib/unifdef/
H A Dunifdef.137 .Nd remove preprocessor conditionals from code
186 It spots unusually-formatted preprocessor directives
239 preprocessor directives,
290 a preprocessor directive that spans more than one line,
368 preprocessor directive controlling expressions.
463 Obfuscated preprocessor control line
472 Unrecognized preprocessor directive
515 so preprocessor directives split across more than one physical line

12345678910>>...30