Skip to content

Commit 693e412

Browse files
committed
Fixes gcc redeclaration confusion
Older gcc versions confuse the type with the member name if both are the same and see the second as a redeclaration. This is fixed by explicitly declaring the types namespace.
1 parent b15adfb commit 693e412

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/phasar/PhasarLLVM/DataFlowSolver/IfdsIde/IFDSFieldSensTaintAnalysis/FlowFunctions/MapTaintedValuesToCaller.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class MapTaintedValuesToCaller : public FlowFunction<ExtendedValue> {
2828
private:
2929
const llvm::CallInst *CallInst;
3030
const llvm::ReturnInst *RetInst;
31-
TraceStats &TraceStats;
31+
::psr::TraceStats &TraceStats;
3232
ExtendedValue ZV;
3333
};
3434

include/phasar/PhasarLLVM/DataFlowSolver/WPDS/WPDSSolverConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct WPDSSolverConfig {
2929
WPDSSolverConfig &operator=(WPDSSolverConfig &&) = default;
3030
bool RecordWitnesses = false;
3131
WPDSSearchDirection Direction = WPDSSearchDirection::FORWARD;
32-
WPDSType WPDSType = WPDSType::FWPDS;
32+
::psr::WPDSType WPDSType = WPDSType::FWPDS;
3333
friend llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,
3434
const WPDSSolverConfig &SC);
3535
};

0 commit comments

Comments
 (0)