mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Add explicit keywords, and fix a minor typo that they uncovered.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45034 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -248,7 +248,7 @@ public:
|
||||
}
|
||||
|
||||
protected:
|
||||
ExecutionEngine(ModuleProvider *P);
|
||||
explicit ExecutionEngine(ModuleProvider *P);
|
||||
|
||||
void emitGlobals();
|
||||
|
||||
|
@ -34,7 +34,7 @@ struct GenericValue {
|
||||
APInt IntVal; // also used for long doubles
|
||||
|
||||
GenericValue() : DoubleVal(0.0), IntVal(1,0) {}
|
||||
GenericValue(void *V) : PointerVal(V), IntVal(1,0) { }
|
||||
explicit GenericValue(void *V) : PointerVal(V), IntVal(1,0) { }
|
||||
};
|
||||
|
||||
inline GenericValue PTOGV(void *P) { return GenericValue(P); }
|
||||
|
Reference in New Issue
Block a user