[NFC] Correct typo in comment after D76038

This commit is contained in:
Aaron Puchert 2020-04-23 02:26:02 +02:00
parent e0b60c6df2
commit 391c15fccd
1 changed files with 2 additions and 2 deletions

View File

@ -871,11 +871,11 @@ public:
/// Returns true if this declaration is lexically inside a function or inside /// Returns true if this declaration is lexically inside a function or inside
/// a variable initializer. It recognizes non-defining declarations as well /// a variable initializer. It recognizes non-defining declarations as well
/// as members of local classes: /// as members of local classes and lambdas:
/// \code /// \code
/// void foo() { void bar(); } /// void foo() { void bar(); }
/// void foo2() { class ABC { void bar(); }; } /// void foo2() { class ABC { void bar(); }; }
/// inline int x = [](){ return 0; }; /// inline int x = [](){ return 0; }();
/// \endcode /// \endcode
bool isInLocalScope() const; bool isInLocalScope() const;