mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Removes an assertion.
This commit is contained in:
parent
40fbdf2c1c
commit
46ca41bc94
1 changed files with 0 additions and 1 deletions
|
@ -271,7 +271,6 @@ public class IndexUI {
|
||||||
|
|
||||||
public static ICElementHandle getCElementForName(ICProject preferProject, IIndex index, IASTName declName)
|
public static ICElementHandle getCElementForName(ICProject preferProject, IIndex index, IASTName declName)
|
||||||
throws CoreException {
|
throws CoreException {
|
||||||
assert !declName.isReference();
|
|
||||||
IBinding binding= declName.resolveBinding();
|
IBinding binding= declName.resolveBinding();
|
||||||
if (binding != null) {
|
if (binding != null) {
|
||||||
ITranslationUnit tu= getTranslationUnit(preferProject, declName);
|
ITranslationUnit tu= getTranslationUnit(preferProject, declName);
|
||||||
|
|
Loading…
Add table
Reference in a new issue