diff options
author | Vitaly Buka <vitalybuka@google.com> | 2018-09-29 02:17:12 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2018-09-29 02:17:12 +0000 |
commit | 0509070811a84fc2c69ac4b38d84e21935019420 (patch) | |
tree | 73e2083da29075cf17a4a2a2f372be02be2c6c36 /llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp | |
parent | e174746c5e6d9f2cb34d776922457e04f862cada (diff) | |
download | bcm5719-llvm-0509070811a84fc2c69ac4b38d84e21935019420.tar.gz bcm5719-llvm-0509070811a84fc2c69ac4b38d84e21935019420.zip |
[cxx2a] Fix warning triggered by r343285
llvm-svn: 343369
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp index ce06845c668..4c3c6c9adde 100644 --- a/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp @@ -231,17 +231,17 @@ struct TransformedFunction { TransformedFunction& operator=(TransformedFunction&&) = default; /// Type of the function before the transformation. - FunctionType* const OriginalType; + FunctionType *OriginalType; /// Type of the function after the transformation. - FunctionType* const TransformedType; + FunctionType *TransformedType; /// Transforming a function may change the position of arguments. This /// member records the mapping from each argument's old position to its new /// position. Argument positions are zero-indexed. If the transformation /// from F to F' made the first argument of F into the third argument of F', /// then ArgumentIndexMapping[0] will equal 2. - const std::vector<unsigned> ArgumentIndexMapping; + std::vector<unsigned> ArgumentIndexMapping; }; /// Given function attributes from a call site for the original function, |