Documentation
¶
Overview ¶
Package clangcl performs include processing given a valid clangCl action.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Preprocessor ¶
type Preprocessor struct {
*cppcompile.Preprocessor
}
Preprocessor is the preprocessor of clang-cl compile actions.
func (*Preprocessor) AppendVirtualInput ¶
func (p *Preprocessor) AppendVirtualInput(res []*command.VirtualInput, flag, path string) []*command.VirtualInput
AppendVirtualInput appends a virtual input to res. If the flag="-winsysroot" the content of the path is processed and Win SDK and VC toolchain paths are added to virtual inputs.
func (*Preprocessor) ComputeSpec ¶
func (p *Preprocessor) ComputeSpec() error
ComputeSpec computes cpp header dependencies.
func (*Preprocessor) IsVirtualInput ¶
func (p *Preprocessor) IsVirtualInput(flag string) bool
IsVirtualInput returns true if the flag specifies a virtual input to be added to InputSpec.
func (*Preprocessor) ParseFlags ¶
func (p *Preprocessor) ParseFlags() error
ParseFlags parses the commands flags and populates the ActionSpec object with inferred information.
Click to show internal directories.
Click to hide internal directories.