diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2022-08-11 07:32:32 -0400 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2022-08-11 07:32:32 -0400 |
| commit | 7309e8cfbe59844b4e0128c3f48eb1a68d8bad68 (patch) | |
| tree | 28c6b3931e04c111e06aa0156be4025f62248227 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h | |
| parent | ef110a491f702e84d3f97e7cde6dacea99fd238d (diff) | |
| download | llvm-7309e8cfbe59844b4e0128c3f48eb1a68d8bad68.zip llvm-7309e8cfbe59844b4e0128c3f48eb1a68d8bad68.tar.gz llvm-7309e8cfbe59844b4e0128c3f48eb1a68d8bad68.tar.bz2 | |
Do not use the same identifier for a data member as a type; NFC
This should help address a build failure found after
09117b21890c652994f7ada0229d309b35b44259
../tools/clang/lib/Sema/SemaDeclCXX.cpp: In member function void clang::Sema::DiagnoseStaticAssertDetails(const clang::Expr*):
../tools/clang/lib/Sema/SemaDeclCXX.cpp:16666:19: error: declaration of const clang::Expr* clang::Sema::DiagnoseStaticAssertDetails(const clang::Expr*)::<unnamed struct>::Expr changes meaning of Expr [-fpermissive]
16666 | const Expr *Expr;
| ^~~~
In file included from ../tools/clang/include/clang/AST/DeclCXX.h:22,
from ../tools/clang/include/clang/AST/ASTLambda.h:18,
from ../tools/clang/lib/Sema/SemaDeclCXX.cpp:15:
../tools/clang/include/clang/AST/Expr.h:109:7: note: Expr declared here as class clang::Expr
109 | class Expr : public ValueStmt {
| ^~~~
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
