From: Russell Gallop Date: Thu, 15 Aug 2019 10:12:11 +0000 (+0000) Subject: Revert rL368939 "Remove LVALUE / RVALUE workarounds" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03c322b0b583171fe3837587274370227f141461;p=clang Revert rL368939 "Remove LVALUE / RVALUE workarounds" This reverts commit cad8356d699b36c73abb267f65db575ddacbd652. To unbreak Windows bots git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368985 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h b/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h index 07fb937e39..598e2f632c 100644 --- a/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h +++ b/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h @@ -167,7 +167,7 @@ public: const ProgramStateRef &getState() const { return State; } template - Optional getLocationAs() const & { + Optional getLocationAs() const LLVM_LVALUE_FUNCTION { return Location.getAs(); }