]> granicus.if.org Git - clang/commitdiff
Revert rL368939 "Remove LVALUE / RVALUE workarounds"
authorRussell Gallop <russell.gallop@gmail.com>
Thu, 15 Aug 2019 10:12:11 +0000 (10:12 +0000)
committerRussell Gallop <russell.gallop@gmail.com>
Thu, 15 Aug 2019 10:12:11 +0000 (10:12 +0000)
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

include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h

index 07fb937e3933dd6aa13ae3600f81da8f6fbbfebd..598e2f632c4b37de626c0b0b3d506d4579bc4a5b 100644 (file)
@@ -167,7 +167,7 @@ public:
   const ProgramStateRef &getState() const { return State; }
 
   template <typename T>
-  Optional<T> getLocationAs() const & {
+  Optional<T> getLocationAs() const LLVM_LVALUE_FUNCTION {
     return Location.getAs<T>();
   }