This commit is contained in:
parent
c45dddae5f
commit
7f349c73db
16 changed files with 88 additions and 46 deletions
|
|
@ -173,7 +173,7 @@ public:
|
|||
loc[getLastValidSourceIndex()].name = filename;
|
||||
}
|
||||
|
||||
void setFile(const char* filename, size_t i)
|
||||
void setFile(const char* filename, int i)
|
||||
{
|
||||
if (i == getLastValidSourceIndex()) {
|
||||
logicalSourceLoc.name = filename;
|
||||
|
|
|
|||
|
|
@ -783,6 +783,8 @@ public:
|
|||
void setLineNum(int newLineNum) { lastLine = newLineNum; }
|
||||
|
||||
private:
|
||||
SourceLineSynchronizer& operator=(const SourceLineSynchronizer&);
|
||||
|
||||
// A function for getting the index of the last valid source string we've
|
||||
// read tokens from.
|
||||
const std::function<int()> getLastSourceIndex;
|
||||
|
|
|
|||
|
|
@ -487,6 +487,8 @@ protected:
|
|||
}
|
||||
|
||||
private:
|
||||
TokenizableIncludeFile& operator=(const TokenizableIncludeFile&);
|
||||
|
||||
// Stores the prologue for this string.
|
||||
const std::string prologue_;
|
||||
|
||||
|
|
|
|||
|
|
@ -244,6 +244,8 @@ public:
|
|||
bool visitBranch(glslang::TVisit, glslang::TIntermBranch*) override;
|
||||
|
||||
protected:
|
||||
TSymbolDefinitionCollectingTraverser& operator=(const TSymbolDefinitionCollectingTraverser&);
|
||||
|
||||
// The mapping from symbol node IDs to their defining nodes. This should be
|
||||
// populated along traversing the AST.
|
||||
NodeMapping& symbol_definition_mapping_;
|
||||
|
|
@ -548,6 +550,8 @@ public:
|
|||
}
|
||||
|
||||
protected:
|
||||
TNoContractionAssigneeCheckingTraverser& operator=(const TNoContractionAssigneeCheckingTraverser&);
|
||||
|
||||
bool visitBinary(glslang::TVisit, glslang::TIntermBinary* node) override;
|
||||
void visitSymbol(glslang::TIntermSymbol* node) override;
|
||||
|
||||
|
|
@ -648,6 +652,8 @@ public:
|
|||
}
|
||||
|
||||
protected:
|
||||
TNoContractionPropagator& operator=(const TNoContractionPropagator&);
|
||||
|
||||
// Visits an aggregate node. The node can be a initializer list, in which
|
||||
// case we need to find the 'precise' or 'precise' containing object node
|
||||
// with the access chain record. In other cases, just need to traverse all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue