summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
index 864266e77ee..bccdcf2d922 100644
--- a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
+++ b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
@@ -167,7 +167,7 @@ public:
const ProgramStateRef &getState() const { return State; }
template <typename T>
- Optional<T> getLocationAs() const LLVM_LVALUE_FUNCTION {
+ Optional<T> getLocationAs() const & {
return Location.getAs<T>();
}
OpenPOWER on IntegriCloud