clang  6.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::FilenamePatternConstraint Struct Reference

#include "clang/Analysis/CloneDetection.h"

Collaboration diagram for clang::FilenamePatternConstraint:
Collaboration graph
[legend]

Public Member Functions

 FilenamePatternConstraint (StringRef IgnoredFilesPattern)
 
bool isAutoGenerated (const CloneDetector::CloneGroup &Group)
 
void constrain (std::vector< CloneDetector::CloneGroup > &CloneGroups)
 

Public Attributes

StringRef IgnoredFilesPattern
 
std::shared_ptr< llvm::Regex > IgnoredFilesRegex
 

Detailed Description

Definition at line 331 of file CloneDetection.h.

Constructor & Destructor Documentation

◆ FilenamePatternConstraint()

clang::FilenamePatternConstraint::FilenamePatternConstraint ( StringRef  IgnoredFilesPattern)
inline

Definition at line 335 of file CloneDetection.h.

Member Function Documentation

◆ constrain()

void clang::FilenamePatternConstraint::constrain ( std::vector< CloneDetector::CloneGroup > &  CloneGroups)
inline

Definition at line 343 of file CloneDetection.h.

References clang::CloneConstraint::filterGroups().

◆ isAutoGenerated()

bool FilenamePatternConstraint::isAutoGenerated ( const CloneDetector::CloneGroup Group)

Definition at line 155 of file CloneDetection.cpp.

References clang::Error.

Member Data Documentation

◆ IgnoredFilesPattern

StringRef clang::FilenamePatternConstraint::IgnoredFilesPattern

Definition at line 332 of file CloneDetection.h.

◆ IgnoredFilesRegex

std::shared_ptr<llvm::Regex> clang::FilenamePatternConstraint::IgnoredFilesRegex

Definition at line 333 of file CloneDetection.h.


The documentation for this struct was generated from the following files: