Skip to content
Commit 5ca7984b authored by Sebastian Redl's avatar Sebastian Redl
Browse files

In C++, an initializer on a variable doesn't necessarily mean it's the...

In C++, an initializer on a variable doesn't necessarily mean it's the definition. With that in mind, rename getDefinition to getAnyInitializer (to distinguish it from getInit) and reimplement it in terms of isThisDeclarationADefinition. Update all code to use this new function.

llvm-svn: 94999
parent b18093e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment