Przeglądaj źródła

fcl-passrc: useanalyzer: no hint for attributes

git-svn-id: trunk@41433 -
Mattias Gaertner 6 lat temu
rodzic
commit
45eafbabca
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      packages/fcl-passrc/src/pasuseanalyzer.pas

+ 2 - 0
packages/fcl-passrc/src/pasuseanalyzer.pas

@@ -2470,6 +2470,8 @@ begin
       EmitTypeHints(TPasType(Decl))
     else if Decl is TPasProcedure then
       EmitProcedureHints(TPasProcedure(Decl))
+    else if Decl.ClassType=TPasAttributes then
+      // no hints
     else
       begin
       Usage:=FindElement(Decl);